[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: table deep copy in C/CPP
- From: Mariusz Stanisz <mar@...>
- Date: Tue, 16 Mar 2010 17:24:12 -0500
I know that deep copy function. I need a function in C. I'm going to be passing lua tables between pthreads, these are separate lua states.
So i have to take a table of one stack copy and push it onto another stack.
On Tue, Mar 16, 2010 at 4:48 PM, Luiz Henrique de Figueiredo <firstname.lastname@example.org>
> I need do a deep copy of lua table in C/CPP does anyone have an example?You might start from http://lua-users.org/wiki/CopyTable
But why do you need a deep copy? I never needed to copy tables, let alone