| 1565 | |
| 1566 | #ifndef STBI_NO_STDIO |
| 1567 | STBIDEF int stbi_is_hdr(char const* filename) { |
| 1568 | FILE* f = stbi__fopen(filename, "rb"); |
| 1569 | int result = 0; |
| 1570 | if (f) { |
| 1571 | result = stbi_is_hdr_from_file(f); |
| 1572 | fclose(f); |
| 1573 | } |
| 1574 | return result; |
| 1575 | } |
| 1576 | |
| 1577 | STBIDEF int stbi_is_hdr_from_file(FILE* f) { |
| 1578 | #ifndef STBI_NO_HDR |
nothing calls this directly
no test coverage detected