From 54fedb6a2698b783220e731abc208d8196ba3304 Mon Sep 17 00:00:00 2001 From: madrocketsci Date: Wed, 11 Mar 2026 15:03:00 -0400 Subject: [PATCH] error logger --- include/amsmathutil25/amsmathutil25.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/amsmathutil25/amsmathutil25.hpp b/include/amsmathutil25/amsmathutil25.hpp index bbb1954..201b27c 100644 --- a/include/amsmathutil25/amsmathutil25.hpp +++ b/include/amsmathutil25/amsmathutil25.hpp @@ -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