]> granicus.if.org Git - php/commitdiff
...
authorkrakjoe <joe.watkins@live.co.uk>
Mon, 11 Nov 2013 13:07:02 +0000 (13:07 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Mon, 11 Nov 2013 13:07:02 +0000 (13:07 +0000)
phpdbg_bp.c
phpdbg_bp.h

index 799ea11357cbbd00d03cbf54113f220aafcfbda9..c261ecc1060e5483bd3738811ed16a88b3ab4bdd 100644 (file)
@@ -152,9 +152,7 @@ int phpdbg_find_breakpoint_symbol(zend_function *fbc TSRMLS_DC) /* {{{ */
        return FAILURE;
 } /* }}} */
 
-typedef struct _zend_op *zend_op_ptr;
-
-int phpdbg_find_breakpoint_opline(zend_op_ptr opline TSRMLS_DC) /* {{{ */
+int phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t opline TSRMLS_DC) /* {{{ */
 {
        phpdbg_breakline_t *bp;
 
index 164ff48facbd873f8640f8615b639fbf653805cd..f6a8b6bcd7c978a08134fcf12d8cccb7b7372339 100644 (file)
@@ -20,6 +20,9 @@
 #ifndef PHPDBG_BP_H
 #define PHPDBG_BP_H
 
+/* {{{ */
+typedef struct _zend_op *phpdbg_opline_ptr_t; /* }}} */
+
 /**
  * Breakpoint file-based representation
  */
@@ -52,6 +55,6 @@ void phpdbg_set_breakpoint_opline(const char* TSRMLS_DC);
 
 int phpdbg_find_breakpoint_file(zend_op_array* TSRMLS_DC);
 int phpdbg_find_breakpoint_symbol(zend_function* TSRMLS_DC);
-int phpdbg_find_breakpoint_opline(zend_op* TSRMLS_DC);
+int phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t TSRMLS_DC);
 
 #endif /* PHPDBG_BP_H */