Skip to content

Commit b34d67e

Browse files
committed
Update Luau to 0.650 (luau0-src 0.11.1)
1 parent 46ee7ea commit b34d67e

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

mlua-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cfg-if = "1.0"
4040
pkg-config = "0.3.17"
4141
lua-src = { version = ">= 547.0.0, < 547.1.0", optional = true }
4242
luajit-src = { version = ">= 210.5.0, < 210.6.0", optional = true }
43-
luau0-src = { version = "0.11.0", optional = true }
43+
luau0-src = { version = "0.11.1", optional = true }
4444

4545
[lints.rust]
4646
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(raw_dylib)'] }

mlua-sys/src/luau/lua.rs

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ extern "C-unwind" {
185185

186186
pub fn lua_pushlightuserdatatagged(L: *mut lua_State, p: *mut c_void, tag: c_int);
187187
pub fn lua_newuserdatatagged(L: *mut lua_State, sz: usize, tag: c_int) -> *mut c_void;
188+
pub fn lua_newuserdatataggedwithmetatable(L: *mut lua_State, sz: usize, tag: c_int) -> *mut c_void;
188189
pub fn lua_newuserdatadtor(L: *mut lua_State, sz: usize, dtor: lua_Udestructor) -> *mut c_void;
189190

190191
pub fn lua_newbuffer(L: *mut lua_State, sz: usize) -> *mut c_void;

mlua-sys/src/luau/lualib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub const LUA_BUFFERLIBNAME: &str = "buffer";
1313
pub const LUA_UTF8LIBNAME: &str = "utf8";
1414
pub const LUA_MATHLIBNAME: &str = "math";
1515
pub const LUA_DBLIBNAME: &str = "debug";
16+
pub const LUA_VECLIBNAME: &str = "vector";
1617

1718
extern "C-unwind" {
1819
pub fn luaopen_base(L: *mut lua_State) -> c_int;
@@ -25,6 +26,7 @@ extern "C-unwind" {
2526
pub fn luaopen_utf8(L: *mut lua_State) -> c_int;
2627
pub fn luaopen_math(L: *mut lua_State) -> c_int;
2728
pub fn luaopen_debug(L: *mut lua_State) -> c_int;
29+
pub fn luaopen_vector(L: *mut lua_State) -> c_int;
2830

2931
// open all builtin libraries
3032
pub fn luaL_openlibs(L: *mut lua_State);

0 commit comments

Comments
 (0)