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

Function stbi_load_from_callbacks

Source/Utils/stb_image.h:1435–1440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433}
1434
1435STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp)
1436{
1437 stbi__context s;
1438 stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);
1439 return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
1440}
1441
1442#ifndef STBI_NO_GIF
1443STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp)

Callers

nothing calls this directly

Calls 2

stbi__start_callbacksFunction · 0.85

Tested by

no test coverage detected