lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

simple question:

If I have a normal lua function that returns a string, and I call this
function from C, and use lua_tostring to get the string. Do I need to copy
the string into another string if I want to keep it.
And if not, then I guess I have to take care of deleting the string if it's
not needed anymore?


Bram Vaessen