mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bug #62651: source level BC break
Break for C++ extensions that don't wrap the includes of PHP libraries in extern "C" {.
This commit is contained in:
parent
edece6ec84
commit
594397993d
1 changed files with 2 additions and 0 deletions
|
@ -23,12 +23,14 @@
|
||||||
|
|
||||||
#include "zend.h"
|
#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 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_snapshot)(TSRMLS_D);
|
||||||
ZEND_API extern void (*zend_interned_strings_restore)(TSRMLS_D);
|
ZEND_API extern void (*zend_interned_strings_restore)(TSRMLS_D);
|
||||||
|
|
||||||
void zend_interned_strings_init(TSRMLS_D);
|
void zend_interned_strings_init(TSRMLS_D);
|
||||||
void zend_interned_strings_dtor(TSRMLS_D);
|
void zend_interned_strings_dtor(TSRMLS_D);
|
||||||
|
END_EXTERN_C()
|
||||||
|
|
||||||
#ifndef ZTS
|
#ifndef ZTS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue