From 1ff725b6211940b6ba78ba16c8740a2a18659de2 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Fri, 19 Dec 2025 14:15:54 +1100 Subject: refactor(png): ff_open_png returns ff_result --- include/tinyff/result.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/tinyff/result.h') diff --git a/include/tinyff/result.h b/include/tinyff/result.h index a837c66..27b1ce4 100644 --- a/include/tinyff/result.h +++ b/include/tinyff/result.h @@ -3,8 +3,11 @@ typedef enum { FF_RESULT_OK = 0, + + // File FF_RESULT_ERROR_INVALID_FILE_SIGNITURE, FF_RESULT_ERROR_INVALID_FILE, + FF_RESULT_ERROR_READ_FILE_FAILURE, // More will be created when more errors occur } ff_result; -- cgit v1.2.3