Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ luaL_openlibs
Function
luaL_openlibs
engine/lua/src/lua/linit.c:30–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
30
LUALIB_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
3
Initialize
Function · 0.85
TEST
Function · 0.85
pmain
Function · 0.85
Calls
2
lua_pushstring
Function · 0.85
lua_call
Function · 0.85
Tested by
1
TEST
Function · 0.68