MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / error

Function error

deps/lua/src/lundump.c:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#define IF(c,s) if (c) error(S,s)
35
36static void error(LoadState* S, const char* why)
37{
38 luaO_pushfstring(S->L,"%s: %s in precompiled chunk",S->name,why);
39 luaD_throw(S->L,LUA_ERRSYNTAX);
40}
41#endif
42
43#define LoadMem(S,b,n,size) LoadBlock(S,b,(n)*(size))

Callers 2

LoadConstantsFunction · 0.70
LoadFunctionFunction · 0.70

Calls 2

luaO_pushfstringFunction · 0.85
luaD_throwFunction · 0.85

Tested by

no test coverage detected