File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ cfg-if = "1.0"
4343pkg-config = " 0.3.17"
4444lua-src = { version = " >= 551.0.2, < 551.1.0" , optional = true }
4545luajit-src = { version = " >= 210.7.0, < 210.8.0" , optional = true }
46- luau0-src = { version = " 0.22.0 " , optional = true }
46+ luau0-src = { version = " 0.22.1 " , optional = true }
4747
4848[lints .rust ]
4949unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(raw_dylib)' ] }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use super::luacode::*;
1313pub const LUA_RESUMEERROR : c_int = -1 ;
1414
1515// Keep in sync with Bytecode.h
16- const LBC_VERSION_MAX : u8 = 11 ;
16+ const LBC_VERSION_MAX : u8 = 14 ;
1717const LBC_TYPE_VERSION_MIN : u8 = 1 ;
1818const LBC_TYPE_VERSION_MAX : u8 = 3 ;
1919
Original file line number Diff line number Diff line change @@ -275,6 +275,10 @@ unsafe extern "C-unwind" {
275275 pub fn lua_getthreaddata ( L : * mut lua_State ) -> * mut c_void ;
276276 pub fn lua_setthreaddata ( L : * mut lua_State , data : * mut c_void ) ;
277277 pub fn lua_costatus ( L : * mut lua_State , co : * mut lua_State ) -> c_int ;
278+
279+ pub fn lua_hasfinalizers ( L : * mut lua_State ) -> c_int ;
280+ pub fn lua_pushfinalizerfunction ( L : * mut lua_State , co : * mut lua_State , toclose : c_int ) ;
281+ pub fn lua_addfinalizer ( L : * mut lua_State , co : * mut lua_State , idx : c_int ) ;
278282}
279283
280284#[ inline( always) ]
You can’t perform that action at this time.
0 commit comments