From 3c6ae042158df0236a8f9ccdaddb69a89ba66d57 Mon Sep 17 00:00:00 2001 From: Garden Date: Thu, 18 Dec 2025 21:15:15 +1100 Subject: feat: Add result enum --- include/tinyff/result.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/tinyff/result.h (limited to 'include/tinyff/result.h') diff --git a/include/tinyff/result.h b/include/tinyff/result.h new file mode 100644 index 0000000..a837c66 --- /dev/null +++ b/include/tinyff/result.h @@ -0,0 +1,12 @@ +#ifndef RESULT_H +#define RESULT_H + +typedef enum { + FF_RESULT_OK = 0, + FF_RESULT_ERROR_INVALID_FILE_SIGNITURE, + FF_RESULT_ERROR_INVALID_FILE, + + // More will be created when more errors occur +} ff_result; + +#endif \ No newline at end of file -- cgit v1.2.3