]> granicus.if.org Git - php/commitdiff
Fixed C++ incompatibility
authorDmitry Stogov <dmitry@zend.com>
Wed, 24 Sep 2014 16:31:22 +0000 (20:31 +0400)
committerDmitry Stogov <dmitry@zend.com>
Wed, 24 Sep 2014 16:31:22 +0000 (20:31 +0400)
Zend/zend_operators.h

index adb30f603fdf0dff5a95da9263f34e6bcdb67bde..39a7e1f541ba1fe182a190db92d7994427cf261b 100644 (file)
@@ -285,7 +285,6 @@ ZEND_API int zend_atoi(const char *str, int str_len);
 ZEND_API zend_long zend_atol(const char *str, int str_len);
 
 ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC);
-END_EXTERN_C()
 
 #define convert_to_ex_master(pzv, lower_type, upper_type)      \
        if (Z_TYPE_P(pzv)!=upper_type) {                                        \
@@ -928,6 +927,8 @@ static zend_always_inline char *zend_print_long_to_buf(char *buf, zend_long num)
 
 ZEND_API zend_string *zend_long_to_str(zend_long num);
 
+END_EXTERN_C()
+
 #endif
 
 /*