diff options
author | sanine-a <sanine.not@pm.me> | 2020-06-05 18:20:49 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-06-05 18:20:49 -0500 |
commit | e4dd7978d24f53465c8475bd3a027047b4a53bb8 (patch) | |
tree | 5c861830a2f7ad6ed2bcc0f9f04cd504403b3292 /include/common.h | |
parent | 70784cdb24628e758df27cbe1965ff83102decb0 (diff) |
refactor: rename honey_error to honey_result
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h index 680f097..56c1634 100644 --- a/include/common.h +++ b/include/common.h @@ -40,7 +40,7 @@ typedef enum { /* model errors */ HONEY_MODEL_LOAD_ERROR, - HONEY_N_ERRORS } honey_error; + HONEY_N_ERRORS } honey_result; #define HONEY_ERROR_DATA_STRING_LENGTH 4096 @@ -58,6 +58,6 @@ void honey_error_set_string2(char* string); * @param[out] error_string A string with at least 3*HONEY_ERROR_DATA_STRING_LENGTH characters to store the result * @param[in] error The error to generate a message for */ -void honey_human_readable_error(char* error_string, honey_error error); +void honey_human_readable_error(char* error_string, honey_result error); #endif |