MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaB_loadstring

Function luaB_loadstring

lua/lbaselib.c:285–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284
285static int luaB_loadstring (lua_State *L) {
286 size_t l;
287 const char *s = luaL_checklstring(L, 1, &l);
288 const char *chunkname = luaL_optstring(L, 2, s);
289 return load_aux(L, luaL_loadbuffer(L, s, l, chunkname));
290}
291
292
293static int luaB_loadfile (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checklstringFunction · 0.85
load_auxFunction · 0.85
luaL_loadbufferFunction · 0.85

Tested by

no test coverage detected