ae2f::Core
Loading...
Searching...
No Matches
errGlob.h
Go to the documentation of this file.
1#if !defined(ae2f_errGlobal)
2// Those numbers with [ae2f_errint_t] will be the state.
3#define ae2f_errGlobal
4
5#include "Cast.h"
6#include <stdint.h>
7
10typedef uint8_t ae2f_errint_t;
11
14#define ae2f_errGlob_OK ae2f_static_cast(ae2f_errint_t, 0)
15
19#define ae2f_errGlob_IMP_NOT_FOUND ae2f_static_cast(ae2f_errint_t, 0b1)
20
23#define ae2f_errGlob_PTR_IS_NULL ae2f_static_cast(ae2f_errint_t, 0b10)
24
27#define ae2f_errGlob_FLUSH_FAILED ae2f_static_cast(ae2f_errint_t, 0b100)
28
31#define ae2f_errGlob_ALLOC_FAILED ae2f_static_cast(ae2f_errint_t, 0b1000)
32
36#define ae2f_errGlob_WRONG_OPERATION ae2f_static_cast(ae2f_errint_t, 0b10000)
37
41#define ae2f_errGlob_NFOUND ae2f_static_cast(ae2f_errint_t, 0b100000)
42
46#define ae2f_errGlob_DONE_HOWEV ae2f_static_cast(ae2f_errint_t, 0b1000000)
47
53
54#endif
#define ae2f_extern
Suggests the existence of external variable or function, in naming of C. [non-mangling].
Definition Cast.h:85
ae2f_extern ae2f_errint_t ae2f_errGlob_LastErr
Definition errGlob.h:52
uint8_t ae2f_errint_t
Informs that this number represents the error.
Definition errGlob.h:10