mlua/tests
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
..
compile Update compile tests 2022-08-23 23:12:37 +01:00
module Don't require Lua sources for modules in build system 2022-05-07 22:16:54 +01:00
async.rs Fix Lua assertion when inspecting another thread stack. 2022-08-01 22:07:39 +01:00
byte_string.rs Update test names 2021-06-18 23:13:56 +01:00
chunk.rs Refactor AsChunk trait. 2022-04-14 20:48:00 +01:00
compile.rs Update compile tests to include async/send features 2020-05-12 03:16:29 +01:00
conversion.rs Replace macro-based implementation ToLua for arrays to const generics 2021-11-04 00:59:39 +00:00
function.rs Fix a bug in Function::bind when args and binds are empty 2022-07-22 00:24:53 +01:00
hooks.rs Make LuaHook as Fn instead of FnMut to remove Mutex and improve performance 2022-03-30 23:55:34 +01:00
luau.rs Better checks and tests when trying to modify a Luau readonly table 2022-10-30 11:41:09 +00:00
memory.rs Fix Luau documentation in docs.rs 2022-04-08 20:02:12 +01:00
scope.rs Update test names 2021-06-18 23:13:56 +01:00
serde.rs Correctly deserialize newtype struct (#168) 2022-05-24 23:26:17 +01:00
static.rs Fix "unused" warning in tests 2022-04-17 22:39:21 +01:00
string.rs Implement Hash for Lua String 2022-04-08 20:02:18 +01:00
table.rs Add push/pop methods to Table 2022-10-23 23:27:17 +01:00
tests.rs Fix bug when recycled Registry slot can be set to Nil. 2022-11-07 00:10:57 +00:00
thread.rs Enable Thread::reset for Luau 2022-03-23 21:13:48 +00:00
types.rs Drop 'feature(link_args)' (removed from nightly). Don't run tests for LuaJIT 2.0.5 2021-04-16 22:27:28 +01:00
userdata.rs Add Lua::create_proxy for easy access to UserData static fields and functions 2022-06-28 23:03:29 +01:00
value.rs Add Value::to_pointer() function. 2022-05-18 13:15:08 +01:00