diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-07-26 23:37:02 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-07-27 01:39:06 +0200 |
commit | 594397993dcbbf2fd90f6df23a2124c0239ec73e (patch) | |
tree | 6165146796759fee3651eab4115368cdfd35f35f /Zend/zend_string.h | |
parent | edece6ec84484690d7ddf8fe971a48747059ba60 (diff) | |
download | php-git-594397993dcbbf2fd90f6df23a2124c0239ec73e.tar.gz |
Fix bug #62651: source level BC break
Break for C++ extensions that don't wrap the includes of PHP libraries
in extern "C" {.
Diffstat (limited to 'Zend/zend_string.h')
-rw-r--r-- | Zend/zend_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_string.h b/Zend/zend_string.h index a61d2fb30d..0a4738466d 100644 --- a/Zend/zend_string.h +++ b/Zend/zend_string.h @@ -23,12 +23,14 @@ #include "zend.h" +BEGIN_EXTERN_C() ZEND_API extern const char *(*zend_new_interned_string)(const char *str, int len, int free_src TSRMLS_DC); ZEND_API extern void (*zend_interned_strings_snapshot)(TSRMLS_D); ZEND_API extern void (*zend_interned_strings_restore)(TSRMLS_D); void zend_interned_strings_init(TSRMLS_D); void zend_interned_strings_dtor(TSRMLS_D); +END_EXTERN_C() #ifndef ZTS |