errcode.h 441 B

12345678910111213
  1. #ifndef TOOLBOX_ERRCODE_H
  2. #define TOOLBOX_ERRCODE_H
  3. #define RET_TYPE unsigned char
  4. #define RET_OK ((RET_TYPE) 0L) /* No Error */
  5. #define RET_EFM ((RET_TYPE) 1L) /* Failed to Malloc */
  6. #define RET_EIDNE ((RET_TYPE) 2L) /* Item Does Not Exist */
  7. #define RET_EVBTS ((RET_TYPE) 3L) /* Value Bigger Than Size */
  8. #define RET_EVN ((RET_TYPE) 4L) /* Value is Null */
  9. #define RET_EIAE ((RET_TYPE) 5L) /* Item Already Exist */
  10. #endif