]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorAndrei Zmievski <andrei@php.net>
Sun, 2 Oct 2005 03:10:33 +0000 (03:10 +0000)
committerAndrei Zmievski <andrei@php.net>
Sun, 2 Oct 2005 03:10:33 +0000 (03:10 +0000)
Zend/zend_operators.h

index 73b89bf31971377a65a514cbf6bafbaff9630e92..4984117b9122176bfcfb998bd9eadbb037a1570e 100644 (file)
@@ -346,12 +346,11 @@ END_EXTERN_C()
                }                                                                               \
        } 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)