diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-01 15:54:11 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-01 15:54:11 +1100 |
| commit | 3d5f2d85d9e14ada21025920c9a69e756ca70b15 (patch) | |
| tree | 936c0ee8f7ccbe5328d5909e1dca132ebbd05be5 /include/tinyff/image/bmp.h | |
| parent | 03b1356cbbcaa7852a74888b03c222a7b30e9a64 (diff) | |
feat(bmp): Add bitmap section handler template to bmp.h
Diffstat (limited to 'include/tinyff/image/bmp.h')
| -rw-r--r-- | include/tinyff/image/bmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
