Add Lua 5.5 external strings support

This commit is contained in:
Alex Orlenko
2026-01-18 00:03:43 +00:00
parent b1f99aa852
commit 1be9e6ce2d
5 changed files with 81 additions and 1 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ unsafe extern "C-unwind" {
L: *mut lua_State,
s: *const c_char,
len: usize,
falloc: lua_Alloc,
falloc: Option<lua_Alloc>,
ud: *mut c_void,
) -> *const c_char;
pub fn lua_pushstring(L: *mut lua_State, s: *const c_char) -> *const c_char;