Expand description
Rust port of ltablib.c — Lua table standard library.
Provides: table.concat, table.insert, table.move, table.pack,
table.remove, table.sort, table.unpack.
C source: reference/lua-5.4.7/src/ltablib.c (430 lines, 14 functions)
Constants§
- TABLE_
FUNCS - C:
tab_funcs[]— the function registration table forrequire("table").
Functions§
- concat
- C:
tconcat(L)— implementstable.concat(t [, sep [, i [, j]]]). - insert
- C:
tinsert(L)— implementstable.insert(t [, pos,] v). - open_
table - C:
luaopen_table(L)— open thetablelibrary. - pack
- C:
tpack(L)— implementstable.pack(...). - remove
- C:
tremove(L)— implementstable.remove(t [, pos]). - sort
- C:
sort(L)— implementstable.sort(t [, comp]). - tmove
- C:
tmove(L)— implementstable.move(a1, f, e, t [, a2]). - unpack
- C:
tunpack(L)— implementstable.unpack(t [, i [, j]]).