summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_closures.h')
-rw-r--r--Zend/zend_closures.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_closures.h b/Zend/zend_closures.h
index 12d5b3400e..c540b554c9 100644
--- a/Zend/zend_closures.h
+++ b/Zend/zend_closures.h
@@ -30,9 +30,10 @@ void zend_register_closure_ce(TSRMLS_D);
extern ZEND_API zend_class_entry *zend_ce_closure;
-ZEND_API void zend_create_closure(zval *res, zend_function *op_array TSRMLS_DC);
+ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_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()