X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fcontext.c;h=8492fcd01f8b6c32f398af5c5c0652fa31651fdf;hb=7d89722785c32163fe6252ed199c86ba6ee0e28c;hp=ba9fabb9cc8e0c0d5ed4542e9f92d96cf1a33f1e;hpb=e16c15d5936c3b57b05e49570fb9526920de8188;p=m6w6%2Fext-psi diff --git a/src/context.c b/src/context.c index ba9fabb..8492fcd 100644 --- a/src/context.c +++ b/src/context.c @@ -1214,9 +1214,9 @@ 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) { - C->ops->call(C, ret_val, decl); + C->ops->call(C, decl_call); } static inline void dump_decl_type(int fd, decl_type *t) { @@ -1404,8 +1404,8 @@ void PSI_ContextDump(PSI_Context *C, int fd) dprintf(fd, " = %s", iarg->def->text); } } - if (impl->func->args->vararg) { - impl_arg *vararg = impl->func->args->vararg; + if (impl->func->args->vararg.name) { + impl_arg *vararg = impl->func->args->vararg.name; dprintf(fd, ", %s %s...$%s", vararg->type->name,