[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to pass a C struct?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 24 Jul 2007 18:53:19 -0300
> You'll want to make a userdata for your Sprite struct. There are many
> ways to do this. Some examples can be found here:
> http://lua-users.org/wiki/SampleCode .
For more sample code, check out my Lua libraries at
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/