MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / LoadBlock

Function LoadBlock

Plugins/slua_unreal/External/lua/lundump.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48#define LoadVector(S,b,n) LoadBlock(S,b,(n)*sizeof((b)[0]))
49
50static void LoadBlock (LoadState *S, void *b, size_t size) {
51 if (luaZ_read(S->Z, b, size) != 0)
52 error(S, "truncated");
53}
54
55
56#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