Just as an additional note:
Strings could prinicipally face the same problem when passed to and from Lua: they could silently vanish on either side without letting the other side know, would the Lua API not always copy them already. Thus, be careful when passing large amounts of text to and from Lua - but this is a principal "problem" of the Lua API...
Strings could prinicipally face the same problem when passed to and from Lua: they could silently vanish on either side without letting the other side know, would the Lua API not always copy them already. Thus, be careful when passing large amounts of text to and from Lua - but this is a principal "problem" of the Lua API...