Use more consistent terminology
This commit is contained in:
parent
870ecc6719
commit
3ba365f113
1 changed files with 1 additions and 1 deletions
2
cmaybe.h
2
cmaybe.h
|
@ -1,7 +1,7 @@
|
|||
#define MAYBE_TYPE(name, type) struct maybe_##name {type value; char is_value;}
|
||||
#define MAYBE(name) struct maybe_##name
|
||||
|
||||
#define ENABLE_RETURN(type) MAYBE(type) __return_value
|
||||
#define ENABLE_RETURN(name) MAYBE(name) __return_value
|
||||
#define RETURN_VALUE(x) {\
|
||||
__return_value.is_value = 1;\
|
||||
__return_value.value = x;\
|
||||
|
|
Loading…
Reference in a new issue