lua-users home
lua-l archive

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

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 <> wrote:
>  I need do a deep copy of lua table in C/CPP does anyone have an example?

You might start from

But why do you need a deep copy? I never needed to copy tables, let alone
deep copy.