| 453 | } |
| 454 | |
| 455 | int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) |
| 456 | { |
| 457 | stbi__write_context s; |
| 458 | stbi__start_write_callbacks(&s, func, context); |
| 459 | return stbi_write_tga_core(&s, x, y, comp, (void *) data); |
| 460 | } |
| 461 | |
| 462 | #ifndef STBI_WRITE_NO_STDIO |
| 463 | int stbi_write_tga(char const *filename, int x, int y, int comp, const void *data) |
nothing calls this directly
no test coverage detected