Skip to content

Commit

Permalink
Quickfix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoVen committed Dec 11, 2023
1 parent 53960a3 commit 2c1eb41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/cmc/cor/flags.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 */

0 comments on commit 2c1eb41

Please sign in to comment.