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

Function load_aux

lua/lbaselib.c:274–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273
274static int load_aux (lua_State *L, int status) {
275 if (status == 0) /* OK? */
276 return 1;
277 else {
278 lua_pushnil(L);
279 lua_insert(L, -2); /* put before error message */
280 return 2; /* return nil plus error message */
281 }
282}
283
284
285static int luaB_loadstring (lua_State *L) {

Callers 3

luaB_loadstringFunction · 0.85
luaB_loadfileFunction · 0.85
luaB_loadFunction · 0.85

Calls 2

lua_pushnilFunction · 0.85
lua_insertFunction · 0.85

Tested by

no test coverage detected