[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table deep copy in C/CPP
- From: Pan Shi Zhu <pan.shizhu@...>
- Date: Wed, 17 Mar 2010 09:42:08 +0800
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?
>