lua-users home
lua-l archive

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


2011/3/29 Chris <coderight@gmail.com>:
>
> local function copyfoo(a, b)
>   a.a = b.a
>   a.b = b.b
>   a.c = b.c
>   a.d = b.d
>   a.e = b.e
>   a.f = b.f
> end

for the record there is also ffi.copy