25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
null = 0, false = 0, true = 1
};
typedef _Bool bool;
#else
# define null nullptr
#endif
#define try(x) {bad _E_ = (x); if(_E_ != ok) return _E_;}
#define zero(x) memset(&(x), sizeof(x), 0)
#define mkup_error_list \
e(usage,"usage was displayed to user") \
e(insane,"your system is not in a sane state") \
e(file,"file specified could not be mapped") \
e(empty,"nothing to do; bailing")
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
null = 0, false = 0, true = 1
};
typedef _Bool bool;
#else
# define null nullptr
#endif
#define try(x) {bad _E_ = (x); if(_E_ != ok) return _E_;}
#define zero(x) memset(&(x), 0, sizeof(x))
#define mkup_error_list \
e(usage,"usage was displayed to user") \
e(insane,"your system is not in a sane state") \
e(file,"file specified could not be mapped") \
e(empty,"nothing to do; bailing")
|