gates_of_skeldal/GIF/Errs.h
2025-01-25 21:15:16 +01:00

14 lines
369 B
C

/* Various error codes used by decoder
* and my own routines... It's okay
* for you to define whatever you want,
* as int32_t as it's negative... It will be
* returned intact up the various subroutine
* levels...
*/
#define OUT_OF_MEMORY -10
#define BAD_CODE_SIZE -20
#define READ_ERROR -1
#define WRITE_ERROR -2
#define OPEN_ERROR -3
#define CREATE_ERROR -4