X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcontext.h;h=a010eeed1f2ee91da5fbf51fc8f7d6d97e0af43e;hp=4f86444770dc36a7a190a7d4d83c8fd868c678ff;hb=574519ef5e3ab76f00253fad870afce7135638d1;hpb=6a8a77b52b636041de54d1022016b4f2aa510c05 diff --git a/src/context.h b/src/context.h index 4f86444..a010eee 100644 --- a/src/context.h +++ b/src/context.h @@ -14,7 +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); + void (*call)(PSI_Context *C, decl_callinfo *decl_call, impl_vararg *va); }; struct PSI_Context { @@ -30,7 +30,8 @@ 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); +void PSI_ContextCall(PSI_Context *C, decl_callinfo *decl_call, impl_vararg *va); +void PSI_ContextDump(PSI_Context *C, int fd); void PSI_ContextDtor(PSI_Context *C); void PSI_ContextFree(PSI_Context **C);