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

Function stbi_loadf_from_callbacks

Source/Utils/stb_image.h:1484–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp)
1485{
1486 stbi__context s;
1487 stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);
1488 return stbi__loadf_main(&s,x,y,comp,req_comp);
1489}
1490
1491#ifndef STBI_NO_STDIO
1492STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp)

Callers

nothing calls this directly

Calls 2

stbi__start_callbacksFunction · 0.85
stbi__loadf_mainFunction · 0.85

Tested by

no test coverage detected