lua_pushstring
[-0, +1, m]
const char *lua_pushstring (lua_State *L, const char *s);
Pushes the zero-terminated string pointed to by s
onto the stack. Lua makes (or reuses) an internal copy of the given string, so the memory at s
can be freed or reused immediately after the function returns.
Returns a pointer to the internal copy of the string.
If s
is NULL
, pushes nil and returns NULL
.
Please login to continue.