Re: LuaJIT calling embedded code.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: LuaJIT calling embedded code.
- From: Javier Guerra Giraldez <javier@...>
- Date: 2011年9月27日 20:05:39 -0500
On Tue, Sep 27, 2011 at 6:57 PM, Duncan Cross <duncan.cross@gmail.com> wrote:
> Have a look at the ffi.C namespace object:
>
> http://luajit.org/ext_ffi_api.html#ffi_C
>
> The symbols may already be available through this without having to
> explicitly load, you would just need to use ffi.cdef() to declare
> them.
right.
you only need to be sure that the symbols are exported in the symbol
table of the executable.
--
Javier