lua-users home
lua-l archive

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


Does your table contains itself or contains the same table in multiple keys?

If not, then just serialize it, copy it as string, then reconstruct to
a new table.

If yes, then things are fairly complicated...

On Wed, Mar 17, 2010 at 5:45 AM, Mariusz Stanisz
<mar@stonewatercontrols.com> wrote:
> Hi,
>  I need do a deep copy of lua table in C/CPP does anyone have an example?
>