From: Stanislav Malyshev Date: Tue, 16 Dec 2003 10:51:21 +0000 (+0000) Subject: export externally used functions X-Git-Tag: php-5.0.0b3RC1~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=052032f5ecdaef2ed60b4bfe50f5bcee480880ae;p=php export externally used functions --- diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 1528a3fda4..ee947ecfd9 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -602,7 +602,7 @@ inline zend_function *zend_check_private(zend_function *fbc, zend_class_entry *c /* Ensures that we're allowed to call a protected method. */ -int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) +ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) { zend_class_entry *fbc_scope = ce; @@ -695,7 +695,7 @@ static union _zend_function *zend_std_get_method(zval *object, char *method_name /* This is not (yet?) in the API, but it belongs in the built-in objects callbacks */ -zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC) +ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC) { zend_function *fbc; @@ -731,7 +731,7 @@ zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_n } -zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC) +ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC) { zval **retval = NULL; zend_class_entry *tmp_ce = ce; @@ -769,7 +769,7 @@ zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, i } -zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC) +ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC) { zend_error(E_ERROR, "Attempt to unset static property %s::$%s", ce->name, property_name); return 0;