lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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