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

Function stbi__pic_is4

Source/Utils/stb_image.h:6333–6341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6331
6332#ifndef STBI_NO_PIC
6333static int stbi__pic_is4(stbi__context *s,const char *str)
6334{
6335 int i;
6336 for (i=0; i<4; ++i)
6337 if (stbi__get8(s) != (stbi_uc)str[i])
6338 return 0;
6339
6340 return 1;
6341}
6342
6343static int stbi__pic_test_core(stbi__context *s)
6344{

Callers 2

stbi__pic_test_coreFunction · 0.85
stbi__pic_infoFunction · 0.85

Calls 1

stbi__get8Function · 0.85

Tested by

no test coverage detected