| 1528 | |
| 1529 | #ifndef STBI_NO_STDIO |
| 1530 | STBIDEF float* stbi_loadf( |
| 1531 | char const* filename, int* x, int* y, int* comp, int req_comp) { |
| 1532 | float* result; |
| 1533 | FILE* f = stbi__fopen(filename, "rb"); |
| 1534 | if (!f) |
| 1535 | return stbi__errpf("can't fopen", "Unable to open file"); |
| 1536 | result = stbi_loadf_from_file(f, x, y, comp, req_comp); |
| 1537 | fclose(f); |
| 1538 | return result; |
| 1539 | } |
| 1540 | |
| 1541 | STBIDEF float* stbi_loadf_from_file(FILE* f, int* x, int* y, int* comp, int req_comp) { |
| 1542 | stbi__context s; |
nothing calls this directly
no test coverage detected