mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
5c8aa19b8d
Allow load to return values, allows reimplementing require() like functions properly. Make globals table explicit in Lua, remove Lua::get / Lua::set in favor of Lua::globals. Allows obeying globals metatable, using other Table functions on the globals table. Also added "has" method as shorthand for checking whether a table entry is not nil.