error logger

This commit is contained in:
2026-03-11 15:03:00 -04:00
parent bb7579f7b0
commit 54fedb6a26

View File

@ -26,10 +26,11 @@ static const int amsmathutil25_threadpsz = 5000;
//Global Changeable Error Logger //
//Global Error Logger //
//Using accessor pattern
//pointer to function of signature void errorlogger(const char *errmsg, int errcode, void *errglobal);
//I'm told this should be private but I'm out of time and tired of figuring out which meaning of static is involved
extern void (*amsmathutil25_errlogger)(const char *, int, void *);
extern void* amsmathutil25_errglobal;
@ -45,8 +46,10 @@ void amsmathutil25_set_errlogger(
void(*errloggerpointer)(const char *, int, void *),
void* errglobal
);
//End Error Logger
};
//Library subsections