| 1528 | |
| 1529 | #ifndef STBI_NO_STDIO |
| 1530 | STBIDEF int stbi_is_hdr (char const *filename) |
| 1531 | { |
| 1532 | FILE *f = stbi__fopen(filename, "rb"); |
| 1533 | int result=0; |
| 1534 | if (f) { |
| 1535 | result = stbi_is_hdr_from_file(f); |
| 1536 | fclose(f); |
| 1537 | } |
| 1538 | return result; |
| 1539 | } |
| 1540 | |
| 1541 | STBIDEF int stbi_is_hdr_from_file(FILE *f) |
| 1542 | { |
nothing calls this directly
no test coverage detected