File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 17
17
+----------------------------------------------------------------------+
18
18
*/
19
19
20
- #include "zend.h"
21
- #include "zend_API.h"
22
20
#include "zend_attributes.h"
21
+ #include "zend_API.h" // needed by zend_attributes_arginfo.h
23
22
#include "zend_attributes_arginfo.h"
24
- #include "zend_exceptions.h"
25
23
#include "zend_smart_str.h"
26
24
27
25
ZEND_API zend_class_entry * zend_ce_attribute ;
Original file line number Diff line number Diff line change 20
20
#ifndef ZEND_ATTRIBUTES_H
21
21
#define ZEND_ATTRIBUTES_H
22
22
23
+ #include "zend.h" // for struct _zend_class_entry
24
+ #include "zend_compile.h" // for ZEND_USER_CLASS
25
+ #include "zend_portability.h" // for BEGIN_EXTERN_C
26
+ #include "zend_types.h" // for zval
27
+
28
+ #include <stdint.h>
29
+
23
30
#define ZEND_ATTRIBUTE_TARGET_CLASS (1<<0)
24
31
#define ZEND_ATTRIBUTE_TARGET_FUNCTION (1<<1)
25
32
#define ZEND_ATTRIBUTE_TARGET_METHOD (1<<2)
37
44
#define ZEND_ATTRIBUTE_SIZE (argc ) \
38
45
(sizeof(zend_attribute) + sizeof(zend_attribute_arg) * (argc) - sizeof(zend_attribute_arg))
39
46
47
+ typedef struct _zend_class_constant zend_class_constant ;
48
+ typedef struct _zend_property_info zend_property_info ;
49
+
40
50
BEGIN_EXTERN_C ()
41
51
42
52
extern ZEND_API zend_class_entry * zend_ce_attribute ;
You can’t perform that action at this time.
0 commit comments