| 1490 | |
| 1491 | #ifndef STBI_NO_STDIO |
| 1492 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) |
| 1493 | { |
| 1494 | float *result; |
| 1495 | FILE *f = stbi__fopen(filename, "rb"); |
| 1496 | if (!f) return stbi__errpf("can't fopen", "Unable to open file"); |
| 1497 | result = stbi_loadf_from_file(f,x,y,comp,req_comp); |
| 1498 | fclose(f); |
| 1499 | return result; |
| 1500 | } |
| 1501 | |
| 1502 | STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) |
| 1503 | { |
nothing calls this directly
no test coverage detected