setfenv
Lua base library function
- Function
- ScriptSetFenv ui
- Meaning
- Serves setfenv: sets a function's environment or, for level 0, the global table, refusing a protected one verified, proof two
- Registered in
- base library table s_frameScriptBaseLibrary ui
- Registrar pair
- 0x811ea8
- Arguments
- at least 2 lower bound
- Returns
0values exact, kinds?unknown- Notes
- delegated-push
Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.
Cited in 1
- Function environments in ui: the Lua base library