summaryrefslogtreecommitdiff
path: root/src/userdata.rs
AgeCommit message (Expand)Author
2023-02-12Add create_userdata_ref/create_userdata_ref_mut for scope (#206)Alex Orlenko
2023-02-03Allow registering and creating custom userdata types that don't necessary imp...Alex Orlenko
2023-01-06Allow deserializing values from serializable UserData using `Lua::from_value(...Alex Orlenko
2022-12-24Refactor `userdata::MetaMethod`.Alex Orlenko
2022-12-19Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMultiAlex Orlenko
2022-12-19Add "unstable" feature flag.Alex Orlenko
2022-12-19Refactor LuaInner stateAlex Orlenko
2022-12-18Replace `impl AsRef<str>` with simple `&str`Alex Orlenko
2022-12-18Use `impl AsRef<str>` for userdata methods/fields instead of generic param.Alex Orlenko
2022-12-18Do not clear usevalues when taking value out of userdata.Alex Orlenko
2022-12-18Initial implementation of owned Lua typesAlex Orlenko
2022-05-09Add Iter metamethod for Luau (available from 0.526)Alex Orlenko
2022-04-08(minor) Fix capturing variables in protect_lua closuresAlex Orlenko
2022-03-25Update docsAlex Orlenko
2022-03-20Initial Luau supportAlex Orlenko
2021-11-25Update docsAlex Orlenko
2021-11-21Add `get_named_user_value` and `set_named_user_value` to `AnyUserData`Alex Orlenko
2021-11-08Add `set_nth_user_value` and `get_nth_user_value` to `AnyUserData`Alex Orlenko
2021-11-04Publish `AnyUserData::take`Alex Orlenko
2021-11-04Add luajit52 support (LuaJIT with partial compatibility with Lua 5.2)Alex Orlenko
2021-11-04Add async meta methods for all Lua except 51Alex Orlenko
2021-10-12Update documentation referencesAlex Orlenko
2021-10-05Add (hidden) method `UserData::take()` to take out value from userdataAlex Orlenko
2021-09-28Refactor UserData metatables handlingAlex Orlenko
2021-09-28Add inline attributes to few hot funcsAlex Orlenko
2021-08-04Update documentation about `FromLua` for UserData. Closes #64Alex Orlenko
2021-07-13Replace custom `UserDataRef(Mut)` with standard `Ref`(Mut)Alex Orlenko
2021-07-11UserData improvements:Alex Orlenko
2021-06-16Revert commit ced808d5abAlex Orlenko
2021-06-03Remove `T: Clone` requirement from `add_async_function`Alex Orlenko
2021-06-03Add `__ipairs` metamethod (again) for Lua 5.2 onlyAlex Orlenko
2021-06-03Implement `UserData` for Rc<RefCell>/Arc<Mutex>/Arc<RwLock> wrappersAlex Orlenko
2021-05-10Fix spellingAlex Orlenko
2021-05-05Add `Thread::reset()` for luajit/lua54Alex Orlenko
2021-05-04Remove deprecated `AnyUserData::has_metamethod()`Alex Orlenko
2021-05-02Stack assertions reviewAlex Orlenko
2021-04-27Refactor UserDataCellAlex Orlenko
2021-04-27More testsAlex Orlenko
2021-04-27Add more checks for destructed userdata in AnyUserDataAlex Orlenko
2021-04-27cargo fmt and other minor fixesAlex Orlenko
2021-04-27Don't trigger longjmp in rust.Alex Orlenko
2021-04-27Fix some clippy warnings & minor changesAlex Orlenko
2021-04-27Make MetaMethod::name() publicAlex Orlenko
2021-04-27Improve/fix scoped UserData dropAlex Orlenko
2021-04-27Add `UserDataFields` API.Alex Orlenko
2020-12-31Update documentationAlex Orlenko
2020-12-14Serde support (serialize feature flag)Alex Orlenko
2020-06-06Add `has_metamethod` to `AnyUserData`Alex Orlenko
2020-05-15Update documentationAlex Orlenko
2020-05-12Add MetaMethod::Close to support Lua 5.4 to-be-closed variablesAlex Orlenko