[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: passing structure from C to Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 25 Sep 2000 11:39:43 -0300 (EST)
>Let's say I have a structure defined in C:
>Is there a way
>to pass in a pointer as a userdata variable and directly access the data in
No, not directly.
But you can use "gettable" tag methods to make this access transparent.
tolua does this. Even if you don't use tolua, you can lok at the code it