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

Function luaL_openlibs

lua/linit.c:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30LUALIB_API void luaL_openlibs (lua_State *L) {
31 const luaL_Reg *lib = lualibs;
32 for (; lib->func; lib++) {
33 lua_pushcfunction(L, lib->func);
34 lua_pushstring(L, lib->name);
35 lua_call(L, 1, 0);
36 }
37}
38

Callers 2

pmainFunction · 0.85
create_sp_intFunction · 0.85

Calls 2

lua_pushstringFunction · 0.85
lua_callFunction · 0.85

Tested by

no test coverage detected