File tree Expand file tree Collapse file tree 4 files changed +20
-11
lines changed Expand file tree Collapse file tree 4 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 1818 +----------------------------------------------------------------------+
1919*/
2020
21- #include "zend.h"
22- #include "zend_globals.h"
23- #include "zend_variables.h"
24- #include "zend_API.h"
25- #include "zend_interfaces.h"
26- #include "zend_exceptions.h"
27- #include "zend_weakrefs.h"
21+ #include "zend_objects.h"
22+ #include "zend_objects_API.h"
23+ #include "zend_exceptions.h" // for zend_rethrow_exception()
24+ #include "zend_execute.h" // for ZEND_REF_HAS_TYPE_SOURCES
25+ #include "zend_types.h" // for GC_SET_REFCOUNT()
26+ #include "zend_weakrefs.h" // for zend_weakrefs_notify()
27+ #include "zend.h" // for struct _zend_class_entry
28+ #include "zend_API.h" // for zend_call_known_instance_method_with_0_params()
2829
2930static zend_always_inline void _zend_object_std_init (zend_object * object , zend_class_entry * ce )
3031{
Original file line number Diff line number Diff line change 2020#ifndef ZEND_OBJECTS_H
2121#define ZEND_OBJECTS_H
2222
23- #include "zend.h"
23+ #include "zend_portability.h" // for BEGIN_EXTERN_C
24+
25+ typedef struct _zend_class_entry zend_class_entry ;
26+ typedef struct _zend_object zend_object ;
2427
2528BEGIN_EXTERN_C ()
2629ZEND_API void ZEND_FASTCALL zend_object_std_init (zend_object * object , zend_class_entry * ce );
Original file line number Diff line number Diff line change 1818 +----------------------------------------------------------------------+
1919*/
2020
21+ #include "zend_objects_API.h"
22+ #include "zend_objects.h" // for zend_objects_destroy_object()
2123#include "zend.h"
2224#include "zend_globals.h"
2325#include "zend_variables.h"
2426#include "zend_API.h"
25- #include "zend_objects_API.h"
2627#include "zend_fibers.h"
2728
2829ZEND_API void ZEND_FASTCALL zend_objects_store_init (zend_objects_store * objects , uint32_t init_size )
Original file line number Diff line number Diff line change 2020#ifndef ZEND_OBJECTS_API_H
2121#define ZEND_OBJECTS_API_H
2222
23- #include "zend.h"
24- #include "zend_compile.h"
23+ #include "zend_portability.h" // for BEGIN_EXTERN_C
24+ #include "zend_gc.h" // for GC_MAY_LEAK
25+ #include "zend_compile.h" // for ZEND_ACC_USE_GUARDS
26+ #include "zend.h" // for _zend_class_entry
27+
28+ typedef struct _zend_object zend_object ;
2529
2630#define OBJ_BUCKET_INVALID (1<<0)
2731
You can’t perform that action at this time.
0 commit comments