mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-18 18:50:25 +00:00
Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY.
This commit is contained in:
@@ -31,15 +31,14 @@ extern "C"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
/* Success Codes (>= 0) */
|
||||
|
||||
ENS_OK = 0,
|
||||
|
||||
/* 0 to 255 : errno */
|
||||
|
||||
/* Error Codes (< 0) */
|
||||
|
||||
ENE_READ_ERROR = -1,
|
||||
ENE_WRITE_ERROR = -2,
|
||||
ENE_OUT_OF_MEMORY = -3,
|
||||
ENE_COMPILE_ERRORS = -4,
|
||||
ENE_VERSION_MISMATCH = -5,
|
||||
} espeak_ng_STATUS;
|
||||
|
||||
Reference in New Issue
Block a user