diff options
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 */ |