| 8411 | } |
| 8412 | |
| 8413 | STBIDEF int stbi_is_16_bit(char const* filename) { |
| 8414 | FILE* f = stbi__fopen(filename, "rb"); |
| 8415 | int result; |
| 8416 | if (!f) |
| 8417 | return stbi__err("can't fopen", "Unable to open file"); |
| 8418 | result = stbi_is_16_bit_from_file(f); |
| 8419 | fclose(f); |
| 8420 | return result; |
| 8421 | } |
| 8422 | |
| 8423 | STBIDEF int stbi_is_16_bit_from_file(FILE* f) { |
| 8424 | int r; |
nothing calls this directly
no test coverage detected