MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / LoadBlock

Function LoadBlock

src/Chain/libraries/glua/lundump.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

luaZ_readFunction · 0.85
errorFunction · 0.70

Tested by

no test coverage detected