Alex Orlenko
|
1d4a135e8e
|
Add `Function::wrap`/`Function::wrap_mut`/`Function::wrap_async` to wrap functions into a type that implements `IntoLua` trait.
This is useful to avoid calling `lua.create_function*` every time when `Function` handle is needed.
|
2022-12-22 16:24:35 +00:00 |
Alex Orlenko
|
56abc4a700
|
Refactor `AsChunk` trait
|
2022-12-19 21:12:36 +00:00 |
Alex Orlenko
|
0cd724f63b
|
Fix Lua assertion when inspecting another thread stack.
The thread can be dead and it's not safe to call __tostring metamethod (if present) on error object.
Fixes #195
|
2022-08-01 22:07:39 +01:00 |
Alex Orlenko
|
ab029b087d
|
Close to-be-closed variables for Lua 5.4 when using call_async functions
Fixes #192
|
2022-07-31 15:33:02 +01:00 |
Alex Orlenko
|
2a8c5c7f82
|
Refactor `Function::bind` implementation.
Make it possible to bind async function arguments.
Fixes #161
|
2022-05-15 01:15:31 +01:00 |
Alex Orlenko
|
fa99f62a99
|
Fix __index and __newindex wrappers for Luau
|
2022-03-21 01:08:40 +00:00 |
Alex Orlenko
|
c322e028e2
|
Initial Luau support
|
2022-03-20 20:30:20 +00:00 |
Alex Orlenko
|
6dc127f4eb
|
Refactor ffi module
Initial Luau support work
|
2022-03-20 20:30:18 +00:00 |
Tarik02
|
d4f8dce597
|
Fix async userdata __index, __newindex metamethods
|
2022-03-20 20:03:47 +00:00 |
Alex Orlenko
|
50f20e0c2c
|
Add thread (coroutine) cache to reset and later reuse to execute async functions.
It works on Lua 5.4 and LuaJIT (vendored) with `lua_resetthread` function.
|
2021-11-14 23:19:47 +00:00 |
Alex Orlenko
|
d7d987fa14
|
Add async meta methods for all Lua except 51
|
2021-11-04 00:57:49 +00:00 |
Alex Orlenko
|
e26cec5db9
|
Drop 'feature(link_args)' (removed from nightly). Don't run tests for LuaJIT 2.0.5
|
2021-04-16 22:27:28 +01:00 |
Alex Orlenko
|
7cb9c4f39c
|
Fix bug in returning nil-prefixed multi values from async function
|
2021-03-03 22:32:22 +00:00 |
Alex Orlenko
|
2aed548747
|
Fix scoped async destruction of partially polled futures
|
2021-02-21 23:52:07 +00:00 |
Alex Orlenko
|
2fd6757f39
|
Add LuaJIT 2.0.5 stable support
|
2020-06-06 16:07:16 +01:00 |
Alex Orlenko
|
d366ce0dd4
|
Scope support (including async)
|
2020-05-11 02:43:34 +01:00 |
Alex Orlenko
|
7b0e4b4280
|
Add Send capability to Lua
|
2020-05-11 02:43:34 +01:00 |
Alex Orlenko
|
4e19ae6ccf
|
Update tests (async and table)
|
2020-04-20 01:14:34 +01:00 |
Alex Orlenko
|
222f4df668
|
Add family of `call_async` function
Update documentation
Move async tests to a separate file
|
2020-04-18 21:26:12 +01:00 |