MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi_is_hdr

Function stbi_is_hdr

Source/Utils/stb_image.h:1530–1539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1528
1529#ifndef STBI_NO_STDIO
1530STBIDEF 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
1541STBIDEF int stbi_is_hdr_from_file(FILE *f)
1542{

Callers

nothing calls this directly

Calls 2

stbi__fopenFunction · 0.85
stbi_is_hdr_from_fileFunction · 0.85

Tested by

no test coverage detected