Thanks for the reply, that looks useful, I will study it and see if I can figure it out.
Another little follow up question for anyone that might know ?
I am using the yoyo site for the API documentation, e.g http://pgl.yoyo.org/luai/i/luaL_pushresult
I cant find the key that explains the text that applies to the individual functions in the top left of the pages. For luaL_pushresult it shows as
[-?, +1, m]
Its obviously denoting what it does to the stack, but cant quite figure out the meaning of the 3 params.
> Date: Mon, 21 Feb 2011 14:19:20 -0300
> From: email@example.com
> To: firstname.lastname@example.org
> Subject: Re: Timers, Callbacks & Swig
> > Newbie here, my first post to this list, hope I am doing it correctly ?
> Have a look at my lalarm. It only handles one timer but it can give you ideas
> on how to handle time interrupts in Lua. See