lua-users home
lua-l archive

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

> So in case of string, is the C stack able to access the Lua address
> space where I have stored the string?

Yes. lua_tostring gives you that address. Use it freely while the string
is in the Lua/C stack. Just don't save that address for later unless
you're positive that the string won't be collected.