Cleanup the code and unified everything (except the macros) under the akerr_ namespace

This commit is contained in:
2026-01-10 10:20:35 -05:00
parent 6821752ec7
commit c526bb1ba3
7 changed files with 166 additions and 166 deletions

View File

@@ -1,17 +1,17 @@
#include "akerror.h"
ErrorContext *func2(void)
akerr_ErrorContext *func2(void)
{
PREPARE_ERROR(errctx);
ATTEMPT {
FAIL(errctx, ERR_NULLPOINTER, "This is a failure in func2");
FAIL(errctx, AKERR_NULLPOINTER, "This is a failure in func2");
} CLEANUP {
} PROCESS(errctx) {
} FINISH(errctx, true);
SUCCEED_RETURN(errctx);
}
ErrorContext *func1(void)
akerr_ErrorContext *func1(void)
{
PREPARE_ERROR(errctx);
ATTEMPT {