X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.h;h=350213c940d88a133c007b91886bd4a25539cf90;hp=94860c5248d0e0fd9e6076b4ae90e5e4ce5a2fe5;hb=29137b5f19713219a1b9b5fdf54ad94a34d6fde0;hpb=b6a04e85779e14399f03e91939b8cb47eb330ef7 diff --git a/src/parser.h b/src/parser.h index 94860c5..350213c 100644 --- a/src/parser.h +++ b/src/parser.h @@ -7,6 +7,7 @@ #include #include +#include /* fcall */ #include "parser_proc.h" @@ -51,6 +52,10 @@ typedef union impl_val { zend_bool bval; zend_long lval; zend_string *str; + struct { + zend_fcall_info *fci; + zend_fcall_info_cache *fcc; + } cb; } zend; void *ptr; uint8_t _dbg[sizeof(void *)]; @@ -290,6 +295,10 @@ typedef struct decl_callinfo { size_t argc; void **args; void **rval; + struct { + void *data; + void (*dtor)(void *data); + } closure; } decl_callinfo; typedef struct decl {