SeanOMik
|
03e81f5553
|
make it possible to provide references of rust types to lua
|
2024-02-06 09:23:32 -05:00 |
SeanOMik
|
6c9798eb5b
|
A bit of code cleanup
|
2024-01-29 19:44:11 -05:00 |
SeanOMik
|
eebb93a9a6
|
Store userdata pointers as RefCells to avoid multiple mutable borrows at once
|
2024-01-29 11:03:49 -05:00 |
SeanOMik
|
a3dbe82613
|
unref LuaRefs when they are dropped
|
2024-01-29 10:38:46 -05:00 |
SeanOMik
|
fcc33d4607
|
Write __gc metamethods for userdata, fix other memory leaks, add Table::{has_key, raw_has_key}
|
2024-01-28 22:37:06 -05:00 |
SeanOMik
|
f3c0dc1930
|
Create a chunk struct, replace the traits created for Function with FromLua, ToLua, FromLuaVec, etc.
|
2024-01-28 20:02:12 -05:00 |
SeanOMik
|
2848d1deee
|
Implement an error handler that collects the stacktrace
|
2024-01-28 13:32:08 -05:00 |
SeanOMik
|
c6f2d303e2
|
Improve error message for meta methods on userdata
|
2024-01-28 11:27:52 -05:00 |
SeanOMik
|
716b54797d
|
Improve error messages when collecting function arguments for execution
|
2024-01-28 11:26:30 -05:00 |
SeanOMik
|
bb692951db
|
Let mutable userdata references in functions
|
2024-01-27 16:01:50 -05:00 |
SeanOMik
|
044b08a10e
|
Add UserDataProxy
|
2024-01-27 15:53:34 -05:00 |
SeanOMik
|
a8db62fe08
|
Add meta methods, methods, functions, and field setters to UserData
|
2024-01-27 14:54:11 -05:00 |
SeanOMik
|
9ef4203619
|
make it so a Table can only be a normal table, or a metatable, not both at the same time
|
2024-01-27 11:00:02 -05:00 |
SeanOMik
|
2b03b55014
|
Groundwork for userdata
Still need a way to add methods and functions
|
2024-01-26 15:43:26 -05:00 |
SeanOMik
|
71199bc905
|
Implement calling rust functions from lua, make the Table struct support metatables
|
2024-01-25 23:47:30 -05:00 |
SeanOMik
|
19ee453172
|
Fix Table::raw_len
|
2024-01-23 20:31:51 -05:00 |
SeanOMik
|
6a0393f346
|
Add Table::raw*
|
2024-01-23 20:28:19 -05:00 |
SeanOMik
|
3d61349bf7
|
Initial commit, tables, functions
|
2024-01-21 22:53:53 -05:00 |