[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luajit ffi - calling a luajit function via a C function pointer?
- From: Mike Pall <mikelu-1102@...>
- Date: Thu, 10 Feb 2011 12:14:14 +0100
Shawn Fox wrote:
> How about adding the ability to get a function pointer back from luajit
> which would call a Lua function?
This is backwards. It's not an FFI for C, it's an FFI to be used
from Lua code. Callbacks will solve that particular problem (after
I implement them) and this is handled from Lua code.