summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-04-08 17:40:56 +0000
committerAndrei Zmievski <andrei@php.net>2003-04-08 17:40:56 +0000
commite5f4c783bc32eae7562dd80e63e64928ff1680a8 (patch)
treefd5fd8cea973d822888011d930af2a3134c8afd3
parentb99146a5c732c586a24e51afa846e9be82a17ee9 (diff)
downloadphp-git-e5f4c783bc32eae7562dd80e63e64928ff1680a8.tar.gz
Rename zend_register_internal_class_in_ns() to a better, less filling,
but with the same great taste zend_register_internal_ns_class().
-rw-r--r--Zend/zend_API.c2
-rw-r--r--Zend/zend_API.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 92769473ad..6bd21b3cd9 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1387,7 +1387,7 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *orig_c
return class_entry;
}
-ZEND_API zend_class_entry *zend_register_internal_class_in_ns(zend_class_entry *class_entry, zend_class_entry *parent_ce, zend_namespace *ns, char *ns_name TSRMLS_DC)
+ZEND_API zend_class_entry *zend_register_internal_ns_class(zend_class_entry *class_entry, zend_class_entry *parent_ce, zend_namespace *ns, char *ns_name TSRMLS_DC)
{
zend_class_entry *register_class;
zend_namespace *orig_namespace = NULL;
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 83d61893ed..cf3612ee18 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -139,7 +139,7 @@ ZEND_API int zend_register_module(zend_module_entry *module_entry);
ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry TSRMLS_DC);
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC);
-ZEND_API zend_class_entry *zend_register_internal_class_in_ns(zend_class_entry *class_entry, zend_class_entry *parent_ce, zend_namespace *ns, char *ns_name TSRMLS_DC);
+ZEND_API zend_class_entry *zend_register_internal_ns_class(zend_class_entry *class_entry, zend_class_entry *parent_ce, zend_namespace *ns, char *ns_name TSRMLS_DC);
ZEND_API zend_namespace *zend_register_internal_namespace(zend_namespace *ns TSRMLS_DC);
ZEND_API int zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC);