From d9a78a887fce1c030c86b7ecd98b1ceb7874fc3c Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 3 Jan 2009 12:25:59 +0000 Subject: - MFH Add reflection support helpers --- Zend/zend_closures.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zend/zend_closures.h') diff --git a/Zend/zend_closures.h b/Zend/zend_closures.h index d63e9f95f4..c326e329c4 100644 --- a/Zend/zend_closures.h +++ b/Zend/zend_closures.h @@ -33,6 +33,8 @@ extern ZEND_API zend_class_entry *zend_ce_closure; ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_ptr TSRMLS_DC); ZEND_API int zend_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zval **zobj_ptr, zval ***zobj_ptr_ptr TSRMLS_DC); ZEND_API zend_function *zend_get_closure_invoke_method(zval *obj TSRMLS_DC); +ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC); +ZEND_API zval* zend_get_closure_this_ptr(zval *obj TSRMLS_DC); END_EXTERN_C() -- cgit v1.2.1