summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-04-02 20:27:44 +0000
committerAndrei Zmievski <andrei@php.net>2003-04-02 20:27:44 +0000
commit3d62a3491e8508e90bc109f3d3d984eae2f8c10a (patch)
tree8d9f94dd73a2979eeae2fdae3760998b53d7e7d4 /Zend/zend_API.h
parentbac12360efebe8a6d2ae2e50cd46b26f2b8f5021 (diff)
downloadphp-git-3d62a3491e8508e90bc109f3d3d984eae2f8c10a.tar.gz
- Add zend_register_internal_namespace() API function.
- Add zend_register_internal_class_in_ns() API function.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 75007c3558..2181a483cf 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -101,6 +101,8 @@ BEGIN_EXTERN_C()
class_container.__set = handle_propset; \
}
+#define INIT_NAMESPACE(ns_container, ns_name) INIT_CLASS_ENTRY(ns_container, ns_name, NULL)
+
int zend_next_free_module(void);
@@ -134,6 +136,8 @@ 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_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);
ZEND_API int zend_disable_class(char *class_name, uint class_name_length TSRMLS_DC);