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

Function stbi_info_from_callbacks

Source/Utils/stb_image.h:7738–7743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7736}
7737
7738STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp)
7739{
7740 stbi__context s;
7741 stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user);
7742 return stbi__info_main(&s,x,y,comp);
7743}
7744
7745STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len)
7746{

Callers

nothing calls this directly

Calls 2

stbi__start_callbacksFunction · 0.85
stbi__info_mainFunction · 0.85

Tested by

no test coverage detected