summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-10-22 19:59:58 +0000
committerMarcus Boerger <helly@php.net>2003-10-22 19:59:58 +0000
commit3c62b3b5ac8ab53b4133281e389bf990d9a30ead (patch)
tree6ee09051cbdea2bb28a03765b915a0406907afd3 /Zend/zend_API.h
parent0bb59f337b869a17ac3dbb217ff56805dd732cd6 (diff)
downloadphp-git-3c62b3b5ac8ab53b4133281e389bf990d9a30ead.tar.gz
Expand Interface C API.
In short: zend_class_entry->interface_gets_implemented() allows to modify the class entry of a class when an interface gets implemented.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index d7b9a44390..0b079bbfb8 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -121,6 +121,7 @@ typedef struct _zend_function_entry {
class_container.destructor = NULL; \
class_container.clone = NULL; \
class_container.create_object = NULL; \
+ class_container.interface_gets_implemented = NULL; \
class_container.__call = handle_fcall; \
class_container.__get = handle_propget; \
class_container.__set = handle_propset; \
@@ -160,6 +161,7 @@ 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_interface(zend_class_entry *orig_class_entry TSRMLS_DC);
ZEND_API void zend_class_implements(zend_class_entry *class_entry TSRMLS_DC, int num_interfaces, ...);
ZEND_API int zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC);