mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +01:00
add error codes for invalid returns
This commit is contained in:
parent
db1f1d6980
commit
05d55028c4
@ -21,6 +21,8 @@ typedef int32_t trexio_exit_code;
|
|||||||
#define TREXIO_INVALID_ARG_5 ( (trexio_exit_code) 5 )
|
#define TREXIO_INVALID_ARG_5 ( (trexio_exit_code) 5 )
|
||||||
#define TREXIO_END ( (trexio_exit_code) 10 )
|
#define TREXIO_END ( (trexio_exit_code) 10 )
|
||||||
#define TREXIO_READONLY ( (trexio_exit_code) 11 )
|
#define TREXIO_READONLY ( (trexio_exit_code) 11 )
|
||||||
|
#define TREXIO_INVALID_ID ( (trexio_exit_code) 20 )
|
||||||
|
#define TREXIO_INVALID_NUM ( (trexio_exit_code) 21 )
|
||||||
|
|
||||||
typedef int32_t back_end_t;
|
typedef int32_t back_end_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user