[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [LuaJIT] Where can I ask help for LuaJIT ffi related problems?
- From: Peter Cawley <lua@...>
- Date: Thu, 9 Jun 2011 00:35:52 +0100
On Wed, Jun 8, 2011 at 5:40 PM, Fabio Kaminski <email@example.com> wrote:
> in the case of callbacks for now, you must write c code.. and you must
> have the lua_State handle to pop out the function from the stack..
> (and consequently..the other args)
As my earlier example showed, you do not *need* to write C code or use
a lua_State handle. I've extended my earlier code to support x64 as
well as x86, and also put rather more commentary with it: