Skip to main content

open_table

Function open_table 

Source
pub fn open_table(state: &mut LuaState) -> Result<usize, LuaError>
Expand description

C: luaopen_table(L) — open the table library.

LUAMOD_API int luaopen_table (lua_State *L) {
  luaL_newlib(L, tab_funcs);
  return 1;
}