pub fn open(state: &mut LuaState) -> Result<usize, LuaError>
Open the base library: register all base functions into the global table, then set _G (a self-reference) and _VERSION.
_G
_VERSION
C: LUAMOD_API int luaopen_base(lua_State *L)
LUAMOD_API int luaopen_base(lua_State *L)