From 3d5f2d85d9e14ada21025920c9a69e756ca70b15 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 1 Mar 2026 15:54:11 +1100 Subject: feat(bmp): Add bitmap section handler template to bmp.h --- include/tinyff/image/bmp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/tinyff/image/bmp.h b/include/tinyff/image/bmp.h index 6623b1b..c63f974 100644 --- a/include/tinyff/image/bmp.h +++ b/include/tinyff/image/bmp.h @@ -42,6 +42,8 @@ typedef struct { ff_result last_error; } ff_bmp_ctx; +typedef ff_result (*ff_bmp_section_handler_ptr)(uint8_t *buf, size_t len, ff_bmp_ctx* ctx); + ff_result ff_bmp_isvalid(ff_stream *stream); ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx); -- cgit v1.2.3