X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=php_psi.h;fp=php_psi.h;h=84dc1b7e045df7fa2c4259d4f26188ff7363baea;hp=3d68d587405990ae41ba4abfeeed96467d0a55c4;hb=5359ad5c181e5772f350fe1cba060cbed3a05b91;hpb=04a60b34fc18ea3a2638893eaf24514177692eeb diff --git a/php_psi.h b/php_psi.h index 3d68d58..84dc1b7 100644 --- a/php_psi.h +++ b/php_psi.h @@ -20,7 +20,7 @@ extern zend_module_entry psi_module_entry; #include "context.h" -void psi_error_wrapper(void *context, PSI_Token *t, int type, const char *msg, ...); +void psi_error_wrapper(void *context, struct psi_token *t, int type, const char *msg, ...); void psi_error(int type, const char *fn, unsigned ln, const char *msg, ...); void psi_verror(int type, const char *fn, unsigned ln, const char *msg, va_list argv); @@ -47,7 +47,7 @@ PHP_PSI_API zend_class_entry *psi_object_get_class_entry(); ZEND_BEGIN_MODULE_GLOBALS(psi) char *engine; char *directory; - PSI_Context context; + struct psi_context context; ZEND_END_MODULE_GLOBALS(psi); ZEND_EXTERN_MODULE_GLOBALS(psi);