diff options
author | Andi Gutmans <andi@php.net> | 2001-09-30 17:29:55 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-09-30 17:29:55 +0000 |
commit | 2eabb14dc72359e062c6b5a1a44150fb3d4c99ff (patch) | |
tree | 29e3e6b03d29501558d380830ae4faa4ceff4821 /Zend/zend.h | |
parent | 516b8bc723794446378aea22277ed665ee4c9cd4 (diff) | |
download | php-git-2eabb14dc72359e062c6b5a1a44150fb3d4c99ff.tar.gz |
- Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when
- the whole CVS tree is work in progress
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 580286846f..8169ff329c 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -168,6 +168,17 @@ typedef unsigned short zend_ushort; #define INTERNAL_FUNCTION_PARAMETERS int ht, zval *return_value, zval *this_ptr, int return_value_used TSRMLS_DC #define INTERNAL_FUNCTION_PARAM_PASSTHRU ht, return_value, this_ptr, return_value_used TSRMLS_CC +typedef enum { + INTERNAL_NAMESPACE = 0, + USER_NAMESPACE = 1 +} namespace_type; + +typedef struct _zend_namespace_struct { + namespace_type type; + HashTable *class_table; + HashTable *function_table; +} zend_namespace; + /* * zval */ |