From d0b7eed0c9d873a0606dbbc7e33f14492f1a3dd6 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 1 Jul 2017 18:56:32 +0200 Subject: [PATCH] yet one C++ compat fix --- Zend/zend_object_handlers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 63a7718325..b65edad55e 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -155,12 +155,12 @@ struct _zend_object_handlers { zend_object_compare_zvals_t compare; }; +BEGIN_EXTERN_C() extern ZEND_API zend_object_handlers std_object_handlers; #define zend_get_function_root_class(fbc) \ ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope) -BEGIN_EXTERN_C() ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name_strval, const zval *key); ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent); ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name); -- 2.49.0