core: add enum name to b_status

This commit is contained in:
2024-11-22 22:29:05 +00:00
parent 033e44f83f
commit 753d3ea9d3

View File

@@ -6,7 +6,7 @@
#define B_OK(status) ((status) == B_SUCCESS)
#define B_ERR(status) ((status) != B_SUCCESS)
typedef enum {
typedef enum b_status {
B_SUCCESS = 0x00u,
B_ERR_NO_MEMORY,
B_ERR_OUT_OF_BOUNDS,