| 218 | } |
| 219 | |
| 220 | static int stbi__start_write_file(stbi__write_context *s, const char *filename) |
| 221 | { |
| 222 | FILE *f = fopen(filename, "wb"); |
| 223 | stbi__start_write_callbacks(s, stbi__stdio_write, (void *) f); |
| 224 | return f != NULL; |
| 225 | } |
| 226 | |
| 227 | static void stbi__end_write_file(stbi__write_context *s) |
| 228 | { |
no test coverage detected