com php-src: ...: phpdbg_bp.c phpdbg_bp.h
| From: | Bob Weinand | Date: | Mon, 11 Nov 2013 13:07:02 +0000 |
| Subject: | com php-src: ...: phpdbg_bp.c phpdbg_bp.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75142@lists.php.net to get a copy of this message | ||
Commit: be460647ef869b602ca3cd98ae2560446547500f
Author: krakjoe <joe.watkins@live.co.uk> Mon, 11 Nov 2013 13:07:02 +0000
Parents: 764d7d492cfdb406df21108ce5e2280a9b077c10
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=be460647ef869b602ca3cd98ae2560446547500f
Log:
..
Changed paths:
M phpdbg_bp.c
M phpdbg_bp.h
Diff:
diff --git a/phpdbg_bp.c b/phpdbg_bp.c
index 799ea11..c261ecc 100644
--- a/phpdbg_bp.c
+++ b/phpdbg_bp.c
@@ -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;
diff --git a/phpdbg_bp.h b/phpdbg_bp.h
index 164ff48..f6a8b6b 100644
--- a/phpdbg_bp.h
+++ b/phpdbg_bp.h
@@ -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 */