Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ luaL_openlibs
Function
luaL_openlibs
other_src/lua/src/linit.cpp:31–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
30
31
LUALIB_API void luaL_openlibs (lua_State *L) {
32
const luaL_Reg *lib = lualibs;
33
for (; lib->func; lib++) {
34
lua_pushcfunction(L, lib->func);
35
lua_pushstring(L, lib->name);
36
lua_call(L, 1, 0);
37
}
38
}
39
Callers
5
pmain
Function · 0.70
CreateLuaState
Function · 0.50
createLua
Method · 0.50
setupLuaEnv
Method · 0.50
LuaRobot
Method · 0.50
Calls
2
lua_pushstring
Function · 0.70
lua_call
Function · 0.70
Tested by
no test coverage detected