-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I propose two status code extensions:
/* ---------------------------------------------------------------------------------------------- */
/* Status codes (general purpose) - extensions */
/* ---------------------------------------------------------------------------------------------- */
/**
* The operation failed with an unexpected error.
*/
#define ZYAN_STATUS_UNEXPECTED ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYCORE, 0xFFFFu)
/**
* The operation was not implemented.
*/
#define ZYAN_STATUS_NOT_IMPLEMENTED ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYCORE, 0x78u)
p.s. there was also a typo in the comments of Zycore/Status.h
:
/**
- * The operation failed with an generic error.
+ * The operation failed with a generic error.
*/
#define ZYAN_STATUS_FAILED \
ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYCORE, 0x01u)
Metadata
Metadata
Assignees
Labels
No labels