Skip to content

Commit 2920fcf

Browse files
committed
add generic type to _zend_class_entry
1 parent 26dd70c commit 2920fcf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Zend/zend.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,16 @@ struct _zend_inheritance_cache_entry {
144144
zend_class_entry *traits_and_interfaces[1];
145145
};
146146

147+
typedef struct _zend_generic_type {
148+
struct _zend_generic_type *elements;
149+
size_t element_count;
150+
char *type;
151+
} zend_generic_type;
152+
147153
struct _zend_class_entry {
154+
// TYPE HERE
148155
char type;
156+
zend_generic_type *generic_type;
149157
zend_string *name;
150158
/* class_entry or string depending on ZEND_ACC_LINKED */
151159
union {

0 commit comments

Comments
 (0)