| 1552 | // reports false! |
| 1553 | |
| 1554 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const* buffer, int len) { |
| 1555 | #ifndef STBI_NO_HDR |
| 1556 | stbi__context s; |
| 1557 | stbi__start_mem(&s, buffer, len); |
| 1558 | return stbi__hdr_test(&s); |
| 1559 | #else |
| 1560 | STBI_NOTUSED(buffer); |
| 1561 | STBI_NOTUSED(len); |
| 1562 | return 0; |
| 1563 | #endif |
| 1564 | } |
| 1565 | |
| 1566 | #ifndef STBI_NO_STDIO |
| 1567 | STBIDEF int stbi_is_hdr(char const* filename) { |
nothing calls this directly
no test coverage detected