core: add enum name to b_status
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
#include <blue/core/misc.h>
|
#include <blue/core/misc.h>
|
||||||
|
|
||||||
#define B_OK(status) ((status) == B_SUCCESS)
|
#define B_OK(status) ((status) == B_SUCCESS)
|
||||||
#define B_ERR(status) ((status) != B_SUCCESS)
|
#define B_ERR(status) ((status) != B_SUCCESS)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum b_status {
|
||||||
B_SUCCESS = 0x00u,
|
B_SUCCESS = 0x00u,
|
||||||
B_ERR_NO_MEMORY,
|
B_ERR_NO_MEMORY,
|
||||||
B_ERR_OUT_OF_BOUNDS,
|
B_ERR_OUT_OF_BOUNDS,
|
||||||
|
|||||||
Reference in New Issue
Block a user