lua-users home
lua-l archive

Re: [ANN] LuaJIT-2.0.0-beta6

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


>> 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.

AltStyle によって変換されたページ (->オリジナル) /