File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ fn build_emmyluacodestyle() {
108108
109109fn build_luajit_utf8 ( ) {
110110 cc:: Build :: new ( )
111- . include ( "3rd/luajit -utf8" )
111+ . include ( "3rd/LuaJIT -utf8" )
112112 . include ( "3rd/LuaJIT/src" )
113113 . files (
114- std:: fs:: read_dir ( "3rd/luajit -utf8" )
114+ std:: fs:: read_dir ( "3rd/LuaJIT -utf8" )
115115 . unwrap ( )
116116 . filter_map ( |entry| {
117117 let entry = entry. unwrap ( ) ;
Original file line number Diff line number Diff line change 1+ use mlua:: ffi:: lua_Integer;
12use mlua:: { ffi, lua_State, prelude:: * , Lua } ;
23use std:: ffi:: c_void;
34use std:: os:: raw:: c_int;
@@ -15,7 +16,8 @@ unsafe extern "C-unwind" fn lua_seri_pack(lua_state: *mut lua_State) -> i32 {
1516 }
1617
1718 let buffer_id = seri_pack ( lua_state, 0 , std:: ptr:: null_mut ( ) ) ;
18- ffi:: lua_pushinteger ( lua_state, buffer_id as i64 ) ;
19+
20+ ffi:: lua_pushinteger ( lua_state, buffer_id as lua_Integer ) ;
1921 1
2022}
2123
You can’t perform that action at this time.
0 commit comments