gmod-module-base
gmod-module-base copied to clipboard
Wrap additional methods from Lua 5.1 API
It's still not really feasible to stick with just ILuaBase for modules since it's missing some core Lua functionality. Specifically:
- lua_callk
- lua_concat
- lua_createtable arguments
- lua_error (erroring from the stack instead of a C-string)
- lua_gc
- lua_getfenv
- lua_getinfo
- lua_getlocal
- lua_getstack
- lua_getupvalue
- lua_lessthan
- lua_newthread
- lua_push(v)fstring
- lua_pushinteger
- lua_replace
- lua_resume
- lua_setfenv
- lua_setglobal
- lua_topointer
- lua_upvalueindex
- lua_yield
- luaL_loadfile
- luaL_loadstring
- luaL_where