lua-users home
lua-l archive

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


specifically, when you have a string argument to a function, at the call, does lua make a separate copy of the string object?


On ed, Nov 7, 2012 at 2:46 PM, cynthia powers <powcyn@gmail.com> wrote:
How is copy-by-value implemented for lua strings?
Is there a new TObject made in every SETGLOBAL of the string object inside the function?