Expand description
Lua interface
Structs§
Enums§
Constants§
- LUA_
ENVIRONINDEX - LUA_
ERRERR - LUA_
ERRFILE - LUA_
ERRMEM - LUA_
ERRRUN - LUA_
ERRSYNTAX - LUA_
GLOBALSINDEX - LUA_
IDSIZE - LUA_
MULTRET - LUA_
NOREF - LUA_OK
- LUA_
REFNIL - LUA_
REGISTRYINDEX - LUA_
TBOOLEAN - LUA_
TFUNCTION - LUA_
TLIGHTUSERDATA - LUA_
TNIL - LUA_
TNONE - LUA_
TNUMBER - LUA_
TSTRING - LUA_
TTABLE - LUA_
TTHREAD - LUA_
TUSERDATA - LUA_
YIELD
Statics§
Traits§
Functions§
- iterator⚠
- Pushes all elements in an iterator to a Lua table at the top of the stack.
- load⚠
- Loads lua_shared and imports all functions. This is already done for you if you add
#[gmod::gmod13_open]
to yourgmod13_open
function. - state⚠
- Acquires a pointer to the Lua state for the current thread.