summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-01-17 00:39:28 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-01-17 00:39:28 +0000
commit0a8a950fcfb9a131f5eea6d552fb09405c36a353 (patch)
tree13251a49db7be1a797ca32aefd5f40363ca7b6a4
parent796938ec7f9bdffe8c52867fb4b7a04d068de8de (diff)
downloadphp-git-0a8a950fcfb9a131f5eea6d552fb09405c36a353.tar.gz
Expose zend_std_call_user_call(), needed for implementation of things like
__call handlers.
-rw-r--r--Zend/zend_object_handlers.c2
-rw-r--r--Zend/zend_object_handlers.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index 0eb990779c..44184bdb29 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -514,7 +514,7 @@ static void zend_std_unset_dimension(zval *object, zval *offset TSRMLS_DC)
}
-static void zend_std_call_user_call(INTERNAL_FUNCTION_PARAMETERS)
+ZEND_API void zend_std_call_user_call(INTERNAL_FUNCTION_PARAMETERS)
{
zval ***args;
zend_internal_function *func = (zend_internal_function *)EG(function_state_ptr)->function;
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index 205f410780..b89b6ccc6c 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -129,6 +129,8 @@ ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope)
ZEND_API int zend_check_property_access(zend_object *zobj, char *prop_info_name TSRMLS_DC);
+ZEND_API void zend_std_call_user_call(INTERNAL_FUNCTION_PARAMETERS);
+
#endif
/*