error logger
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user