Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ setglobal
Method
setglobal
engine/lua/src/cs/dmsdk/lua/lua.cs:122–125 ·
view source on GitHub ↗
(State* L, string s)
Source
from the content-addressed store, hash-verified
120
}
121
122
public static void setglobal(State* L, string s)
123
{
124
Lua.setfield(L, LUA_GLOBALSINDEX, s);
125
}
126
127
public static void getglobal(State* L, string s)
128
{
Callers
nothing calls this directly
Calls
1
setfield
Method · 0.80
Tested by
no test coverage detected