summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2003-06-04 08:16:55 +0000
committerStanislav Malyshev <stas@php.net>2003-06-04 08:16:55 +0000
commit039c174337e9d2324a997e325a54dc3c0b187243 (patch)
tree2d3b15130e5e9428ce99dfe10689b5cbcb1c012e /Zend/zend_API.c
parentd74d05f431eef9b86f4d2475b84da098f02c911d (diff)
downloadphp-git-039c174337e9d2324a997e325a54dc3c0b187243.tar.gz
rm namespace leftovers
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 595c58a622..c420aebf6d 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1565,29 +1565,6 @@ ZEND_API char *zend_get_module_version(char *module_name)
return module->version;
}
-ZEND_API void zend_make_full_classname(zend_class_entry *ce, char **name, zend_uint *name_len)
-{
- int len = ce->name_length;
- char *full_name;
-
- if(ce->ns && ce->ns->name) {
- len += ce->ns->name_length + 2;
- }
-
- *name = full_name = emalloc(len+1);
- *name_len = len;
-
- if(ce->ns && ce->ns->name) {
- memcpy(full_name, ce->ns->name, ce->ns->name_length);
- full_name += ce->ns->name_length;
- *(full_name++) = ':';
- *(full_name++) = ':';
- }
-
- memcpy(full_name, ce->name, ce->name_length);
- full_name[ce->name_length] = '\0';
-}
-
/*
* Local variables:
* tab-width: 4