mlua/tests
Alex Orlenko cea2d7fd15
Refactor application data container.
Now it's allowed at the same time mutably and immutably borrow different types.
Each value in the application data container is stored in it's own `RefCell` wrapper.
Also added new function `Lua::try_set_app_data()`.
2023-05-29 00:30:31 +01:00
..
compile Update compile tests 2023-04-27 23:06:38 +01:00
module Update edition everywhere 2023-03-12 01:03:31 +00:00
async.rs Various improvements for owned types, including: 2023-04-26 15:40:48 +01:00
byte_string.rs Update test names 2021-06-18 23:13:56 +01:00
chunk.rs Add `Error::downcast_ref()` method 2023-03-19 00:22:51 +00: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
debug.rs Include (known) userdata type to Value debug pretty-print 2023-05-28 01:12:42 +01:00
error.rs - Allow downcasting error wrapped into `Error::WithContext` 2023-05-08 23:39:53 +01:00
function.rs Various improvements for owned types, including: 2023-04-26 15:40:48 +01:00
hooks.rs Add `Thread::set_hook()` function 2023-04-08 23:53:48 +01:00
luau.rs Add &Lua to luau interrupt callback (fixes #197) 2023-03-25 16:30:31 +00:00
memory.rs Don't call error handler for memory errors in coroutines 2023-03-30 17:29:57 +01:00
scope.rs Add create_userdata_ref/create_userdata_ref_mut for scope (#206) 2023-02-12 16:37:02 +00:00
serde.rs Allow deserializing Lua null into unit(`()`) or unit struct. See #264 2023-04-10 01:49:51 +01:00
static.rs Fix "unused" warning in tests 2022-04-17 22:39:21 +01:00
string.rs Add OwnedString 2023-04-26 23:17:27 +01:00
table.rs Various improvements for owned types, including: 2023-04-26 15:40:48 +01:00
tests.rs Refactor application data container. 2023-05-29 00:30:31 +01: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 Set `__name` field in userdata metatable if not provided 2023-05-25 10:59:46 +01:00
value.rs Include (known) userdata type to Value debug pretty-print 2023-05-28 01:12:42 +01:00