Skip to content

Commit 58c8ce9

Browse files
committed
- Fix vim blocks and add missing comment
1 parent 0d02658 commit 58c8ce9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_closures.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ typedef struct _zend_closure {
4040
zval *this_ptr;
4141
} zend_closure;
4242

43+
/* non-static since it needs to be referenced */
4344
ZEND_API zend_class_entry *zend_ce_closure;
4445
static zend_object_handlers closure_handlers;
4546

@@ -107,7 +108,7 @@ ZEND_API zend_function *zend_get_closure_invoke_method(zval *obj TSRMLS_DC) /* {
107108
}
108109
/* }}} */
109110

110-
ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC)
111+
ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC) /* {{{ */
111112
{
112113
zend_closure *closure = (zend_closure *)zend_object_store_get_object(obj TSRMLS_CC);
113114
return &closure->func;

0 commit comments

Comments
 (0)