File tree 4 files changed +20
-11
lines changed 4 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 18
18
+----------------------------------------------------------------------+
19
19
*/
20
20
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()
28
29
29
30
static zend_always_inline void _zend_object_std_init (zend_object * object , zend_class_entry * ce )
30
31
{
Original file line number Diff line number Diff line change 20
20
#ifndef ZEND_OBJECTS_H
21
21
#define ZEND_OBJECTS_H
22
22
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 ;
24
27
25
28
BEGIN_EXTERN_C ()
26
29
ZEND_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 18
18
+----------------------------------------------------------------------+
19
19
*/
20
20
21
+ #include "zend_objects_API.h"
22
+ #include "zend_objects.h" // for zend_objects_destroy_object()
21
23
#include "zend.h"
22
24
#include "zend_globals.h"
23
25
#include "zend_variables.h"
24
26
#include "zend_API.h"
25
- #include "zend_objects_API.h"
26
27
#include "zend_fibers.h"
27
28
28
29
ZEND_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 20
20
#ifndef ZEND_OBJECTS_API_H
21
21
#define ZEND_OBJECTS_API_H
22
22
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 ;
25
29
26
30
#define OBJ_BUCKET_INVALID (1<<0)
27
31
You can’t perform that action at this time.
0 commit comments