summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorMatt Wilmas <mattwil@php.net>2008-08-29 18:12:47 +0000
committerMatt Wilmas <mattwil@php.net>2008-08-29 18:12:47 +0000
commit22a5aea1617ca40f57adc2775cf6d69c105c2c14 (patch)
tree38d5dc0380af964f39c093e4e74df23c6443753b /Zend/zend_compile.h
parent2e6d655efd4e2a674211ed21826638c2ef90c164 (diff)
downloadphp-git-22a5aea1617ca40f57adc2775cf6d69c105c2c14.tar.gz
MFH: - Updated unary_op_type typedef with TSRMLS_DC
- Added binary_op_type typedef - Added missing ZEND_BOOL_XOR to get_binary_op()
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index f3815a3f8d..cb76bc4780 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -386,9 +386,10 @@ void fetch_string_offset(znode *result, const znode *parent, const znode *offset
void zend_do_fetch_static_member(znode *result, znode *class_znode TSRMLS_DC);
void zend_do_print(znode *result, const znode *arg TSRMLS_DC);
void zend_do_echo(const znode *arg TSRMLS_DC);
-typedef int (*unary_op_type)(zval *, zval *);
+typedef int (*unary_op_type)(zval *, zval * TSRMLS_DC);
+typedef int (*binary_op_type)(zval *, zval *, zval * TSRMLS_DC);
ZEND_API unary_op_type get_unary_op(int opcode);
-ZEND_API void *get_binary_op(int opcode);
+ZEND_API binary_op_type get_binary_op(int opcode);
void zend_do_while_cond(const znode *expr, znode *close_bracket_token TSRMLS_DC);
void zend_do_while_end(const znode *while_token, const znode *close_bracket_token TSRMLS_DC);