File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ fn build_emmyluacodestyle() {
108
108
109
109
fn build_luajit_utf8 ( ) {
110
110
cc:: Build :: new ( )
111
- . include ( "3rd/luajit -utf8" )
111
+ . include ( "3rd/LuaJIT -utf8" )
112
112
. include ( "3rd/LuaJIT/src" )
113
113
. files (
114
- std:: fs:: read_dir ( "3rd/luajit -utf8" )
114
+ std:: fs:: read_dir ( "3rd/LuaJIT -utf8" )
115
115
. unwrap ( )
116
116
. filter_map ( |entry| {
117
117
let entry = entry. unwrap ( ) ;
Original file line number Diff line number Diff line change
1
+ use mlua:: ffi:: lua_Integer;
1
2
use mlua:: { ffi, lua_State, prelude:: * , Lua } ;
2
3
use std:: ffi:: c_void;
3
4
use std:: os:: raw:: c_int;
@@ -15,7 +16,8 @@ unsafe extern "C-unwind" fn lua_seri_pack(lua_state: *mut lua_State) -> i32 {
15
16
}
16
17
17
18
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 ) ;
19
21
1
20
22
}
21
23
You can’t perform that action at this time.
0 commit comments