diff options
-rw-r--r-- | string-tick.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/string-tick.h b/string-tick.h index 23cc190a41bf..9ec763819b34 100644 --- a/string-tick.h +++ b/string-tick.h @@ -21,6 +21,16 @@ exit(EXIT_FAILURE);\ } +#define RET_TRUE_MSG(msg) {\ + puts(msg);\ + return 1;\ +} + +#define RET_FALSE_MSG(msg) {\ + puts(msg);\ + return 0;\ +} + #include <stdio.h> #include <stdlib.h> #include <string.h> |