Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/xLua
/ lua_setglobal
Function
lua_setglobal
WebGLPlugins/xlua.c:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
77
#undef lua_setglobal
78
LUA_API void lua_setglobal (lua_State *L, const char *name) {
79
lua_setfield(L, LUA_GLOBALSINDEX, name);
80
}
81
82
LUA_API int lua_isinteger (lua_State *L, int idx) {
83
return 0;
Callers
8
createargtable
Function · 0.70
dolibrary
Function · 0.70
c_lua_setglobal
Function · 0.70
luaopen_xlua
Function · 0.70
luaL_requiref
Function · 0.70
luaopen_table
Function · 0.70
luaopen_perflib
Function · 0.70
luaopen_i64lib
Function · 0.70
Calls
1
lua_setfield
Function · 0.85
Tested by
no test coverage detected