summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2003-04-21 17:01:34 +0000
committerStanislav Malyshev <stas@php.net>2003-04-21 17:01:34 +0000
commitad01495a482dc31f56af1a4e79ff29cae2d319f2 (patch)
tree7762cf3f78f2992f5152edd6987cf925c1661765 /Zend/zend_API.h
parentc5b1314e0561b84cd1639899bf303c993f8e66af (diff)
downloadphp-git-ad01495a482dc31f56af1a4e79ff29cae2d319f2.tar.gz
Change get_class() so that it returns qualified names for namespaced
classes. *HEADS UP*: get_class_name() handler interface is changed, now it should allocate the space it returns with emalloc, and the users free it. If anyone has problems with it or has suggestions how to do it without this - please tell. Also: make function_exists() understand namespaces.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index cf3612ee18..5fa9b44624 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -260,6 +260,8 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length,
ZEND_API ZEND_FUNCTION(display_disabled_function);
ZEND_API ZEND_FUNCTION(display_disabled_class);
+ZEND_API void zend_make_full_classname(zend_class_entry *ce, char **name, zend_uint *name_len);
+
#if ZEND_DEBUG
#define CHECK_ZVAL_STRING(z) \
if ((z)->value.str.val[ (z)->value.str.len ] != '\0') { zend_error(E_WARNING, "String is not zero-terminated (%s)", (z)->value.str.val); }