mark write_sixel() inline

This commit is contained in:
nick black 2022-01-25 20:49:38 -05:00 committed by nick black
parent d73f89e9a1
commit 73224f03e9

View File

@ -1059,7 +1059,7 @@ write_sixel_payload(fbuf* f, int lenx, const sixelmap* map){
// only called the first time we encode; after that, the palette remains
// constant, and is simply copied. fclose()s |fp| on success. |outx| and |outy|
// are output geometry.
static int
static inline int
write_sixel(fbuf* f, int outy, int outx, const sixeltable* stab, int* parse_start){
*parse_start = write_sixel_header(f, outy, outx, stab->map);
if(*parse_start < 0){