summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-08-12 11:29:33 +0000
committerDmitry Stogov <dmitry@php.net>2005-08-12 11:29:33 +0000
commit21c1109e0c426ed472500c58ac5236001a7277a5 (patch)
tree8d9a1400ac749060f8a9434d8399c9988cf93a1a /Zend/zend_API.h
parent6b98cc4ef56f6b8aecbe8de60acb6ebd5f6eca98 (diff)
downloadphp-git-21c1109e0c426ed472500c58ac5236001a7277a5.tar.gz
Unicode support
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 71473c150b..8442d38cf1 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -114,7 +114,7 @@ typedef struct _zend_function_entry {
#endif
-
+#define U_CLASS_ENTRY(ce) ((UG(unicode)&&ce)?ce->u_twin:ce)
#define INIT_CLASS_ENTRY(class_container, class_name, functions) INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, NULL, NULL, NULL)
@@ -135,6 +135,8 @@ typedef struct _zend_function_entry {
class_container.__set = handle_propset; \
class_container.__unset = handle_propunset; \
class_container.__isset = handle_propisset; \
+ class_container.serialize_func = NULL; \
+ class_container.unserialize_func = NULL; \
class_container.serialize = NULL; \
class_container.unserialize = NULL; \
class_container.parent = NULL; \
@@ -142,6 +144,7 @@ typedef struct _zend_function_entry {
class_container.interfaces = NULL; \
class_container.get_iterator = NULL; \
class_container.iterator_funcs.funcs = NULL; \
+ class_container.u_twin = NULL; \
class_container.module = NULL; \
}
@@ -385,8 +388,6 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length,
ZEND_API int zend_delete_global_variable(char *name, int name_len TSRMLS_DC);
ZEND_API int zend_u_delete_global_variable(zend_uchar type, void *name, int name_len TSRMLS_DC);
-ZEND_API zend_class_entry* zend_get_named_class_entry(char* name, int name_length TSRMLS_DC);
-
ZEND_API void zend_reset_all_cv(HashTable *symbol_table TSRMLS_DC);
#define add_method(arg, key, method) add_assoc_function((arg), (key), (method))