mlua/src
Alex Orlenko f27c49f931
Fix bug when recycled Registry slot can be set to Nil.
This can result in allocating the same slot twice and rewriting old value.
Lua uses (registry) table length to find next free slot and having Nil in the middle of the table can impact length calculation.
With this fix we ensure that Nil values uses a special LUA_REFNIL slot.
2022-11-07 00:10:57 +00:00
..
ffi Update to Luau 0.548 (luau-src >=0.4) 2022-10-08 23:34:47 +01:00
serde Minor serde optimizations 2022-10-23 03:13:24 +01:00
chunk.rs Make clippy happy 2022-06-28 21:28:48 +01:00
conversion.rs Update integer/number coercion logic 2022-05-30 19:26:12 +01:00
error.rs Update docs 2022-03-25 00:43:54 +00:00
function.rs Fix clippy warnings 2022-10-09 14:08:33 +01:00
hook.rs Fix clippy warnings 2022-10-09 14:08:33 +01:00
lib.rs v0.8.5 2022-10-30 12:31:26 +00:00
lua.rs Fix bug when recycled Registry slot can be set to Nil. 2022-11-07 00:10:57 +00:00
luau.rs Set source name to full file path in Luau require 2022-06-29 11:25:16 +01:00
macros.rs Change syntax of protect_lua macro 2021-09-28 18:47:08 +01:00
multi.rs More inline attributes 2022-05-29 20:17:09 +01:00
prelude.rs Add Function::coverage for Luau to obtain coverage report 2022-05-24 02:01:46 +01:00
scope.rs Make clippy happy 2022-06-28 21:28:48 +01:00
stdlib.rs Fix Luau documentation in docs.rs 2022-04-08 20:02:12 +01:00
string.rs Strings optimizations: get access to bytes directly from ref thread. 2022-10-22 23:43:08 +01:00
table.rs Better checks and tests when trying to modify a Luau readonly table 2022-10-30 11:41:09 +00:00
thread.rs Replace Lua::ref_thread_exec 2022-10-22 23:39:49 +01:00
types.rs Fix bug when recycled Registry slot can be set to Nil. 2022-11-07 00:10:57 +00:00
userdata.rs Add Iter metamethod for Luau (available from 0.526) 2022-05-09 14:34:10 +01:00
userdata_impl.rs Add Lua::create_proxy for easy access to UserData static fields and functions 2022-06-28 23:03:29 +01:00
util.rs Optimize Lua::create_string to use reference thread if possible 2022-10-23 00:14:13 +01:00
value.rs Replace Lua::ref_thread_exec 2022-10-22 23:39:49 +01:00