[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT-2.0.0-beta6
- From: Dušan Majkić <dmajkic@...>
- Date: Sun, 13 Feb 2011 20:31:59 +0100
>> Is there a way to export from windows exe app and import to LuaJIT FFI?
>
> The exported symbols of the EXE are part of the default ffi.C
> namespace. So just mark your functions with __declspec(dllexport)
I was hoping for something like:
lua_register_via_FFI(my_nonlua_func, "int my_nonlua_func(int s, const
char *m)");
or FFIs bulk register, like luaL_register. I'm using Lua in delphi app,
and there is no way to export functions from exe project.