summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.h
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2008-08-14 21:36:56 +0000
committerEtienne Kneuss <colder@php.net>2008-08-14 21:36:56 +0000
commitf90255c66b8d276d86e61a5d467371fa5ea6c926 (patch)
treec0b8d700186da8c526e18d0f18bc78b91ef9d4fa /Zend/zend_object_handlers.h
parent99d3c317880ca451215ed9f2765e42fd0c771f40 (diff)
downloadphp-git-f90255c66b8d276d86e61a5d467371fa5ea6c926.tar.gz
MFH: Handlerify get_closure
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r--Zend/zend_object_handlers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h
index 1c982ce0f8..0d8a46b1bf 100644
--- a/Zend/zend_object_handlers.h
+++ b/Zend/zend_object_handlers.h
@@ -108,6 +108,8 @@ typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_D
* Returns FAILURE if the object does not have any sense of overloaded dimensions */
typedef int (*zend_object_count_elements_t)(zval *object, long *count TSRMLS_DC);
+typedef int (*zend_object_get_closure_t)(zval *obj, zend_class_entry **ce_ptr, union _zend_function **fptr_ptr, zval **zobj_ptr, zval ***zobj_ptr_ptr TSRMLS_DC);
+
struct _zend_object_handlers {
/* general object functions */
zend_object_add_ref_t add_ref;
@@ -135,6 +137,7 @@ struct _zend_object_handlers {
zend_object_cast_t cast_object;
zend_object_count_elements_t count_elements;
zend_object_get_debug_info_t get_debug_info;
+ zend_object_get_closure_t get_closure;
};
extern ZEND_API zend_object_handlers std_object_handlers;