diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:40:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:40:21 +0000 |
| commit | df71d9c6dea5cb87f76debcf149438fa2fe2d43a (patch) | |
| tree | 8c003da289af1e820a76872e873be9d9b49aec95 /sixel.h | |
| parent | Merge branch 'fractional-scaling' (diff) | |
| parent | sixel: add_ar_11(): manually unroll loop (diff) | |
Merge branch 'sixel-performance'
Closes #1385
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,10 +6,11 @@ #define SIXEL_MAX_WIDTH 10000u #define SIXEL_MAX_HEIGHT 10000u +typedef void (*sixel_put)(struct terminal *term, uint8_t c); + void sixel_fini(struct terminal *term); -void sixel_init(struct terminal *term, int p1, int p2, int p3); -void sixel_put(struct terminal *term, uint8_t c); +sixel_put sixel_init(struct terminal *term, int p1, int p2, int p3); void sixel_unhook(struct terminal *term); void sixel_destroy(struct sixel *sixel); |
