diff options
Diffstat (limited to 'src/private/rodeo_error.h')
| -rw-r--r-- | src/private/rodeo_error.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/private/rodeo_error.h b/src/private/rodeo_error.h new file mode 100644 index 0000000..d1b9eb5 --- /dev/null +++ b/src/private/rodeo_error.h @@ -0,0 +1,20 @@ + +#define RODEO__EMPTY_ERROR_MESSAGE NULL + +typedef +enum +{ + RODEO__ERROR__UNREACHABLE_REACHED, + RODEO__ERROR__UNINITIALIZED_STATE +} +Rodeo__\ +error; + +void +Rodeo__\ +error_exit( + Rodeo__error error, + const char *function, + int line_number, + const char *extra_info +); |
