| 1514 | // reports false! |
| 1515 | |
| 1516 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) |
| 1517 | { |
| 1518 | #ifndef STBI_NO_HDR |
| 1519 | stbi__context s; |
| 1520 | stbi__start_mem(&s,buffer,len); |
| 1521 | return stbi__hdr_test(&s); |
| 1522 | #else |
| 1523 | STBI_NOTUSED(buffer); |
| 1524 | STBI_NOTUSED(len); |
| 1525 | return 0; |
| 1526 | #endif |
| 1527 | } |
| 1528 | |
| 1529 | #ifndef STBI_NO_STDIO |
| 1530 | STBIDEF int stbi_is_hdr (char const *filename) |
nothing calls this directly
no test coverage detected