diff options
author | Andi Gutmans <andi@php.net> | 2000-06-09 14:40:14 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-09 14:40:14 +0000 |
commit | eb0e69466571093c6f6cb70c05efea1489b8f571 (patch) | |
tree | 4e06066a2567489aacb96e5d6577282dc3da7b89 /Zend/zend_API.h | |
parent | ef1d6987fde2d1793f606345b6b1f5633d523583 (diff) | |
download | php-git-eb0e69466571093c6f6cb70c05efea1489b8f571.tar.gz |
- Andrei, this is for you!
- Add zend_register_internal_class_ex() which allows you to specify a
- parent to inherit from. You can either specify the parent directly or via
- its name.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 2345ef023a..8dace5824b 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -111,7 +111,10 @@ ZEND_API int ParameterPassedByReference(int ht, uint n); int zend_register_functions(zend_function_entry *functions, HashTable *function_table); void zend_unregister_functions(zend_function_entry *functions, int count, HashTable *function_table); 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); +ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name); + ZEND_API zend_module_entry *zend_get_module(int module_number); ZEND_API int zend_disable_function(char *function_name, uint function_name_length); |