Skip to main content

lua_vm/
table.rs

1//! Lua table — canonical implementation now lives in `lua-types::table`.
2//!
3//! This file is a thin re-export for compatibility with workspace
4//! consumers (`lua-lex`, `lua-vm::trace_impls`) that previously
5//! imported `lua_vm::table::LuaTable`. The interesting code has moved
6//! to `crates/lua-types/src/table.rs`; see the doc comment there.
7
8pub use lua_types::table::{LuaTable, TableFlags, TableNode, TableSlotRef};
9
10// ──────────────────────────────────────────────────────────────────────────
11// PORT STATUS
12//   source:        src/ltable.c  (995 lines, 28 functions)
13//   target_crate:  lua-types  (canonical impl)
14//   confidence:    high
15//   todos:         0
16//   port_notes:    0
17//   unsafe_blocks: 0
18//   notes:         Canonical LuaTable lives in lua-types/src/table.rs and
19//                  is reachable through LuaValue::Table(GcRef<LuaTable>).
20//                  This file exists only as a re-export shim so legacy
21//                  `lua_vm::table::LuaTable` imports keep resolving.
22// ──────────────────────────────────────────────────────────────────────────