mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-08 15:40:28 -04:00
14 lines
369 B
C
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
|
|
|