]> granicus.if.org Git - php/commitdiff
yet one C++ compat fix
authorAnatol Belski <ab@php.net>
Sat, 1 Jul 2017 16:56:32 +0000 (18:56 +0200)
committerAnatol Belski <ab@php.net>
Sat, 1 Jul 2017 18:05:11 +0000 (20:05 +0200)
Zend/zend_object_handlers.h

index 63a77183251fe274e05e9960a3930382f393222e..b65edad55ebfd312284725d650c9c1f582c7aacf 100644 (file)
@@ -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);