]> granicus.if.org Git - php/commitdiff
export zend_std_get_constructor()
authorAntony Dovgal <tony2001@php.net>
Wed, 5 Jul 2006 11:41:09 +0000 (11:41 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 5 Jul 2006 11:41:09 +0000 (11:41 +0000)
Zend/zend_object_handlers.c
Zend/zend_object_handlers.h

index 6823ac8ee39a5546944810c4709d4e536aaa7f4a..658dc70854cf15a212753229515935521b58d597 100644 (file)
@@ -911,7 +911,7 @@ ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_uch
 }
 
 
-static union _zend_function *zend_std_get_constructor(zval *object TSRMLS_DC)
+ZEND_API union _zend_function *zend_std_get_constructor(zval *object TSRMLS_DC)
 {
        zend_object *zobj = Z_OBJ_P(object);
        zend_function *constructor = zobj->ce->constructor;
index fcc9b8154ac7d14682ea5fb290d9bdcc2baae96e..2cdf4fffc5ab53d147421e08d2565b5ef0b105fb 100644 (file)
@@ -140,6 +140,7 @@ BEGIN_EXTERN_C()
 ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, zstr function_name_strval, int function_name_strlen TSRMLS_DC);
 ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, zend_uchar type, zstr property_name, int property_name_len, zend_bool silent TSRMLS_DC);
 ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_uchar type, zstr property_name, int property_name_len TSRMLS_DC);
+ZEND_API union _zend_function *zend_std_get_constructor(zval *object TSRMLS_DC);
 ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int silent TSRMLS_DC);
 
 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);