Alex Orlenko
|
76a8f8cc71
|
Add __type to Error's userdata metatable.
Close #585
|
2025-05-27 01:31:54 +01:00 |
|
Alex Orlenko
|
53ff494ab9
|
Prepare for custom (Luau) userdata destructors.
We need to add logic later to prevent calling any Lua functions when UserData destructor is running.
|
2025-04-04 16:36:06 +01:00 |
|
Alex Orlenko
|
0a1a1fe0b6
|
Move some userdata helpers from crate::util to crate::userdata::util
|
2025-03-21 15:13:53 +00:00 |
|
Alex Orlenko
|
4fe7d151a1
|
Refactor userdata-wrappers feature.
Support borrowing underlying data in `UserDataRef` and `UserDataRefMut`.
|
2025-03-21 14:19:38 +00:00 |
|
Alex Orlenko
|
af31dbd180
|
Use c string literal in few places
|
2024-11-25 22:53:59 +00:00 |
|
Alex Orlenko
|
a7d0691e10
|
Add AnyUserData::destroy method
|
2024-11-07 16:12:20 +00:00 |
|
Alex Orlenko
|
76b896edcc
|
Fix attaching __gc metamethod
Bug introdused in ddebf56
|
2024-10-29 22:56:29 +00:00 |
|
Alex Orlenko
|
ddebf56b41
|
Defer metatable return on userdata creation until the end
Relates to #477
|
2024-10-29 21:22:34 +00:00 |
|
Alex Orlenko
|
3787ff9e8c
|
Optimize metatable pointer lookup for userdata (Luau)
|
2024-10-12 21:38:07 +01:00 |
|
Alex Orlenko
|
da4404baa5
|
Add Lua::scope back
|
2024-09-20 13:01:55 +01:00 |
|
Alex Orlenko
|
d5173380e3
|
Split util module
Refactor internal userdata types to switch to the new `TypeKey` trait
|
2024-07-31 13:42:38 +01:00 |
|