pub fn to_close(state: &mut LuaState, idx: i32) -> Result<(), LuaError>Expand description
C’s lua_toclose: mark the value at idx as a to-be-closed slot. Host-only
stub — scripts get <close> semantics through the VM’s OP_TBC path, which
is not routed through this C-API surface, so this only validates the index
and does nothing else. See docs/EMBEDDING_API_IMPLEMENTATION.md “Known
Limits” (issue #278).