diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2022-02-14 18:41:18 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2022-03-20 20:30:18 +0000 |
commit | 6dc127f4eb500398ffd81edcb24d45353b0ff4cf (patch) | |
tree | 6bfe18ef5e0bfd1e6d553a22cfef5b7007d60ded /src/thread.rs | |
parent | d4f8dce597068477dd04fb652186d83f2e4b89ca (diff) | |
download | mlua-6dc127f4eb500398ffd81edcb24d45353b0ff4cf.zip |
Refactor ffi module
Initial Luau support work
Diffstat (limited to 'src/thread.rs')
-rw-r--r-- | src/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs index e805562..f4445a0 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -192,7 +192,7 @@ impl<'lua> Thread<'lua> { lua.push_ref(&self.0); let thread_state = ffi::lua_tothread(lua.state, -1); - let ret = ffi::lua_resetthread(lua.state, thread_state); + let ret = ffi::lua_resetthreadx(lua.state, thread_state); if ret != ffi::LUA_OK { return Err(pop_error(thread_state, ret)); } |