pub unsafe extern "C" fn pushlstring(
state: lua_State,
str: *const u8,
len: usize,
)
Expand description
Pushes the string pointed to by str
with size len
onto the stack.
Lua makes (or reuses) an internal copy of the given string, so the memory at str
can be freed or reused immediately after the function returns.
The string can contain embedded zeros.