X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcontext.h;h=77db31a56fbd5aa8df89224b371a55b7f95767df;hp=351799b46289f24a99a4180bcc192b0f612523e6;hb=d560a27ff8431c678d25ecf4d8190b562a766f41;hpb=1d0049e066faab3c40dcf238c92daab45aadddd7 diff --git a/src/context.h b/src/context.h index 351799b..77db31a 100644 --- a/src/context.h +++ b/src/context.h @@ -14,6 +14,7 @@ struct PSI_ContextOps { void (*init)(PSI_Context *C); void (*dtor)(PSI_Context *C); zend_function_entry *(*compile)(PSI_Context *C); + void (*call)(PSI_Context *C, impl_val *ret_val, decl *decl, impl_val **args); }; struct PSI_Context { @@ -29,6 +30,7 @@ PSI_Context *PSI_ContextInit(PSI_Context *C, PSI_ContextOps *ops, PSI_ContextErr void PSI_ContextBuild(PSI_Context *C, const char *path); int PSI_ContextValidate(PSI_Context *C, PSI_Parser *P); zend_function_entry *PSI_ContextCompile(PSI_Context *C); +void PSI_ContextCall(PSI_Context *C, impl_val *ret_val, decl *decl, impl_val **args); void PSI_ContextDtor(PSI_Context *C); void PSI_ContextFree(PSI_Context **C);