| 497 | } |
| 498 | |
| 499 | void stbiw__write_run_data(stbi__write_context *s, int length, unsigned char databyte) |
| 500 | { |
| 501 | unsigned char lengthbyte = STBIW_UCHAR(length+128); |
| 502 | STBIW_ASSERT(length+128 <= 255); |
| 503 | s->func(s->context, &lengthbyte, 1); |
| 504 | s->func(s->context, &databyte, 1); |
| 505 | } |
| 506 | |
| 507 | void stbiw__write_dump_data(stbi__write_context *s, int length, unsigned char *data) |
| 508 | { |
no outgoing calls
no test coverage detected