lua-users home
lua-l archive

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



On 14 Sep 2012 00:09, "James McKaskill" <james@foobar.co.nz> wrote:
>
> > And how do I dereference void* pointer back to lua table in callback function?
>
> You cast back to a ffi struct and then manually unpack.
>
> -- James
>

Or just cast it to the struct and use it as if it is a table as it behaves like one...

Justin