cvs: ZendEngine2 / zend_operators.h
| From: | Andrei Zmievski | Date: | Sun, 02 Oct 2005 03:10:34 +0000 |
| Subject: | cvs: ZendEngine2 / zend_operators.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4185@lists.php.net to get a copy of this message | ||
andrei Sat Oct 1 23:10:34 2005 EDT
Modified files:
/ZendEngine2 zend_operators.h
Log:
http://cvs.php.net/diff.php/ZendEngine2/zend_operators.h?r1=1.100&r2=1.101&ty=u
Index: ZendEngine2/zend_operators.h
diff -u ZendEngine2/zend_operators.h:1.100 ZendEngine2/zend_operators.h:1.101
--- ZendEngine2/zend_operators.h:1.100 Tue Aug 23 18:05:22 2005
+++ ZendEngine2/zend_operators.h Sat Oct 1 23:10:33 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.h,v 1.100 2005/08/23 22:05:22 andrei Exp $ */
+/* $Id: zend_operators.h,v 1.101 2005/10/02 03:10:33 andrei Exp $ */
#ifndef ZEND_OPERATORS_H
#define ZEND_OPERATORS_H
@@ -346,12 +346,11 @@
} \
} while (0); \
-#define convert_to_explicit_type_ex(ppzv, type) \
- if ((*ppzv)->type != type) { \
- SEPARATE_ZVAL_IF_NOT_REF(ppzv); \
- convert_to_explicit_type(*ppzv, type); \
- } \
-}
+#define convert_to_explicit_type_ex(ppzv, str_type) \
+ if ((*ppzv)->type != str_type) { \
+ SEPARATE_ZVAL_IF_NOT_REF(ppzv); \
+ convert_to_explicit_type(*ppzv, str_type); \
+ }
#define convert_to_boolean_ex(ppzv) convert_to_ex_master(ppzv, boolean, BOOL)
#define convert_to_long_ex(ppzv) convert_to_ex_master(ppzv, long, LONG)