mark write_sixel() inline

pull/2580/head
nick black 2 years ago committed by nick black
parent d73f89e9a1
commit 73224f03e9

@ -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){

Loading…
Cancel
Save