com php-src: yet one C++ compat fix: Zend/zend_object_handl ers.h

From: Date: Sat, 01 Jul 2017 18:05:11 +0000
Subject: com php-src: yet one C++ compat fix: Zend/zend_object_handl ers.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98301@lists.php.net to get a copy of this message
Commit: d0b7eed0c9d873a0606dbbc7e33f14492f1a3dd6 Author: Anatol Belski <ab@php.net> Sat, 1 Jul 2017 18:56:32 +0200 Parents: c71b773a626d2895983bda0b5eed137c79b3c93a Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d0b7eed0c9d873a0606dbbc7e33f14492f1a3dd6 Log: yet one C++ compat fix Changed paths: M Zend/zend_object_handlers.h Diff: diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 63a7718..b65edad 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);

« previous php.cvs (#98301) next »