MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / LoadBlock

Function LoadBlock

third-party/lua-5.3.5/src/lundump.c:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49#define LoadVector(S,b,n) LoadBlock(S,b,(n)*sizeof((b)[0]))
50
51static void LoadBlock (LoadState *S, void *b, size_t size) {
52 if (luaZ_read(S->Z, b, size) != 0)
53 error(S, "truncated");
54}
55
56
57#define LoadVar(S,x) LoadVector(S,&x,1)

Callers

nothing calls this directly

Calls 2

luaZ_readFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected