]> granicus.if.org Git - php/commitdiff
fix syntax for the Visual studio compat
authorAnatol Belski <ab@php.net>
Fri, 13 Mar 2015 19:25:10 +0000 (20:25 +0100)
committerAnatol Belski <ab@php.net>
Fri, 13 Mar 2015 19:25:10 +0000 (20:25 +0100)
Zend/zend_compile.h
Zend/zend_execute.c

index 72f61ac433371a1bbfe2b1eaee795b7b689f9d7c..45441e2108dcab05d60608ca0029731200f71a7f 100644 (file)
@@ -631,9 +631,8 @@ const char *zend_get_zendtext(void);
 int zend_get_zendleng(void);
 #endif
 
-
-typedef int ZEND_FASTCALL (*unary_op_type)(zval *, zval *);
-typedef int ZEND_FASTCALL (*binary_op_type)(zval *, zval *, zval *);
+typedef int (ZEND_FASTCALL *unary_op_type)(zval *, zval *);
+typedef int (ZEND_FASTCALL *binary_op_type)(zval *, zval *, zval *);
 
 ZEND_API unary_op_type get_unary_op(int opcode);
 ZEND_API binary_op_type get_binary_op(int opcode);
index 49b2c5add0a8f70f01b76e026cce56cb0db62801..2f93f2879191b660961672422c686c2ca4a91f12 100644 (file)
@@ -49,7 +49,7 @@
 #define _UNUSED_CODE 3
 #define _CV_CODE     4
 
-typedef int ZEND_FASTCALL (*incdec_t)(zval *);
+typedef int (ZEND_FASTCALL *incdec_t)(zval *);
 
 #define get_zval_ptr(op_type, node, ex, should_free, type) _get_zval_ptr(op_type, node, ex, should_free, type)
 #define get_zval_ptr_deref(op_type, node, ex, should_free, type) _get_zval_ptr_deref(op_type, node, ex, should_free, type)