Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
static 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_read
Function · 0.85
error
Function · 0.70
Tested by
no test coverage detected