com php-src: Fixed C++ support: Zend/zend_operators.h
| From: | Dmitry Stogov | Date: | Fri, 27 Feb 2015 10:45:11 +0000 |
| Subject: | com php-src: Fixed C++ support: Zend/zend_operators.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85112@lists.php.net to get a copy of this message | ||
Commit: 1cdee9a5d8f0a116ef0d7c96e528f09559ec11ce
Author: Dmitry Stogov <dmitry@zend.com> Fri, 27 Feb 2015 13:45:11 +0300
Parents: 30830bcefd080cf58231aa195418a4223497ea91
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1cdee9a5d8f0a116ef0d7c96e528f09559ec11ce
Log:
Fixed C++ support
Changed paths:
M Zend/zend_operators.h
Diff:
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index 31d84fc..1ee827e 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -90,8 +90,6 @@ ZEND_API zend_uchar _is_numeric_string_ex(const char *str, size_t length, zend_l
ZEND_API const char* zend_memnstr_ex(const char *haystack, const char *needle, size_t needle_len,
char *end);
ZEND_API const char* zend_memnrstr_ex(const char *haystack, const char *needle, size_t needle_len,
char *end);
-END_EXTERN_C()
-
#if SIZEOF_ZEND_LONG == 4
# define ZEND_DOUBLE_FITS_LONG(d) (!((d) > ZEND_LONG_MAX || (d) < ZEND_LONG_MIN))
#else
@@ -234,7 +232,6 @@ zend_memnrstr(const char *haystack, const char *needle, size_t needle_len, char
}
}
-BEGIN_EXTERN_C()
ZEND_API int increment_function(zval *op1);
ZEND_API int decrement_function(zval *op2);