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/image/png.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tinyff/image/png.h') diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index caed675..de21b07 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -24,6 +24,6 @@ typedef struct { } ff_png_ctx; ff_result ff_png_isvalid(FILE *file); -ff_png_ctx *ff_open_png(const char *filepath); +ff_result ff_open_png(const char *filepath, ff_png_ctx **out_ctx); #endif -- cgit v1.2.3