File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1818 +----------------------------------------------------------------------+
1919*/
2020
21- #include "zend.h"
22- #include "zend_API.h"
2321#include "zend_closures.h"
24- #include "zend_exceptions.h"
25- #include "zend_interfaces.h"
26- #include "zend_objects.h"
27- #include "zend_objects_API.h"
28- #include "zend_globals.h"
29- #include "zend_closures_arginfo.h"
22+ #include "zend_API.h" //for ZEND_METHOD()
23+ #include "zend_arena.h"
24+ #include "zend_compile.h" // for union _zend_function
25+ #include "zend_objects.h" // for zend_object_std_init()
26+ #include "zend_closures_arginfo.h" // for register_class_Closure()
3027
3128typedef struct _zend_closure {
3229 zend_object std ;
Original file line number Diff line number Diff line change 2020#ifndef ZEND_CLOSURES_H
2121#define ZEND_CLOSURES_H
2222
23+ #include "zend_portability.h" // for BEGIN_EXTERN_C
24+
25+ typedef struct _zend_class_entry zend_class_entry ;
26+ typedef struct _zend_execute_data zend_execute_data ;
27+ typedef union _zend_function zend_function ;
28+ typedef struct _zend_object zend_object ;
29+ typedef struct _zend_string zend_string ;
30+ typedef struct _zval_struct zval ;
31+
2332BEGIN_EXTERN_C ()
2433
2534/* This macro depends on zend_closure structure layout */
You can’t perform that action at this time.
0 commit comments