]> granicus.if.org Git - php/commitdiff
This function needs to be exported for extensions that implement complex zend objects
authorJoe Watkins <krakjoe@php.net>
Sat, 30 Apr 2016 05:48:47 +0000 (06:48 +0100)
committerJoe Watkins <krakjoe@php.net>
Sat, 30 Apr 2016 05:48:47 +0000 (06:48 +0100)
Zend/zend_object_handlers.c
Zend/zend_object_handlers.h

index c74ef7508d152d9fd4de540bdd5974263c569c41..22e81dc009d8357ce4705a2ff3f61842b2beb2ec 100644 (file)
@@ -519,7 +519,7 @@ static void zend_property_guard_dtor(zval *el) /* {{{ */ {
 }
 /* }}} */
 
-static uint32_t *zend_get_property_guard(zend_object *zobj, zend_string *member) /* {{{ */
+ZEND_API uint32_t *zend_get_property_guard(zend_object *zobj, zend_string *member) /* {{{ */
 {
        HashTable *guards;
        zval *zv;
index 319da96f1507ac984e8fa6f18a92f43a9901abd0..2e397093acebd9fa21fd007ff7b8efcbef08014e 100644 (file)
@@ -180,6 +180,8 @@ ZEND_API int zend_check_property_access(zend_object *zobj, zend_string *prop_inf
 
 ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static);
 
+ZEND_API uint32_t *zend_get_property_guard(zend_object *zobj, zend_string *member);
+
 #define zend_free_trampoline(func) do { \
                if ((func) == &EG(trampoline)) { \
                        EG(trampoline).common.function_name = NULL; \