From 2c1eb41280a098dd2a1ab87264c26158047be664 Mon Sep 17 00:00:00 2001 From: Leonardo Vencovsky Date: Mon, 11 Dec 2023 02:31:30 +0100 Subject: [PATCH] Quickfix flags --- src/cmc/cor/flags.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cmc/cor/flags.h b/src/cmc/cor/flags.h index 387fc67..fd5d6c3 100644 --- a/src/cmc/cor/flags.h +++ b/src/cmc/cor/flags.h @@ -56,7 +56,7 @@ enum cmc_flags CMC_FLAG_THREAD = 8, // Generic error regarding threads CMC_FLAG_MUTEX = 9, // Generic error regarding mutexes CMC_FLAG_FULL = 10, // When a collection that doesn't resize is full - CMC_FLAG_FTABLE = 11, // When an ftable function is missing + CMC_FLAG_FTABLE = 11, // When a required ftable function is missing }; // clang-format on @@ -65,7 +65,8 @@ enum cmc_flags * * Maps the error codes to their character representation. */ -CMC_UNUSED static const char *cmc_flags_to_str[11] = { "OK", "ALLOC", "EMPTY", "NOT_FOUND", "INVALID", "RANGE", - "DUPLICATE", "ERROR", "THREAD", "MUTEX", "FULL" }; +CMC_UNUSED static const char *cmc_flags_to_str[11] = { + "OK", "ALLOC", "EMPTY", "NOT_FOUND", "INVALID", "RANGE", "DUPLICATE", "ERROR", "THREAD", "MUTEX", "FULL", "FTABLE" +}; #endif /* CMC_COR_FLAGS_H */