diff options
author | Matt Wilmas <mattwil@php.net> | 2008-08-29 18:12:47 +0000 |
---|---|---|
committer | Matt Wilmas <mattwil@php.net> | 2008-08-29 18:12:47 +0000 |
commit | 22a5aea1617ca40f57adc2775cf6d69c105c2c14 (patch) | |
tree | 38d5dc0380af964f39c093e4e74df23c6443753b /Zend/zend_compile.h | |
parent | 2e6d655efd4e2a674211ed21826638c2ef90c164 (diff) | |
download | php-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.h | 5 |
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); |