Function pushstring

Source
pub unsafe extern "C" fn pushstring(state: lua_State, str: *const u8)
Expand description

Pushes the zero-terminated string pointed to by str 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 cannot contain embedded zeros; it is assumed to end at the first zero.