MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / fchecksize

Function fchecksize

extlibs/lua/src/lundump.c:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267
268static void fchecksize (LoadState *S, size_t size, const char *tname) {
269 if (loadByte(S) != size)
270 error(S, luaO_pushfstring(S->L, "%s size mismatch", tname));
271}
272
273
274#define checksize(S,t) fchecksize(S,sizeof(t),#t)

Callers

nothing calls this directly

Calls 3

loadByteFunction · 0.85
luaO_pushfstringFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected