| 7707 | } |
| 7708 | |
| 7709 | STBIDEF int stbi_is_16_bit(char const *filename) |
| 7710 | { |
| 7711 | FILE *f = stbi__fopen(filename, "rb"); |
| 7712 | int result; |
| 7713 | if (!f) return stbi__err("can't fopen", "Unable to open file"); |
| 7714 | result = stbi_is_16_bit_from_file(f); |
| 7715 | fclose(f); |
| 7716 | return result; |
| 7717 | } |
| 7718 | |
| 7719 | STBIDEF int stbi_is_16_bit_from_file(FILE *f) |
| 7720 | { |
nothing calls this directly
no test coverage detected