X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcontext.h;h=c8416a5bb37abb67b252514c0c41462635b061ad;hp=a010eeed1f2ee91da5fbf51fc8f7d6d97e0af43e;hb=19f0eb5807fb8d0f3aa305f2476f094e66a02709;hpb=94a98b74d920f4eefea55c41fa0b047f27aaf854 diff --git a/src/context.h b/src/context.h index a010eee..c8416a5 100644 --- a/src/context.h +++ b/src/context.h @@ -5,7 +5,7 @@ #define PSI_ERROR 16 #define PSI_WARNING 32 -typedef void (*PSI_ContextErrorFunc)(int type, const char *msg, ...); +typedef void (*PSI_ContextErrorFunc)(PSI_Token *token, int type, const char *msg, ...); typedef struct PSI_Context PSI_Context; typedef struct PSI_ContextOps PSI_ContextOps;