lua-users home
lua-l archive

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


On Tue, Apr 1, 2014 at 2:14 PM, Moose <moose@posteo.de> wrote:
>     local ffi = require("ffi")
>     ffi.cdef[[
>       __declspec(dllexport) void code_to_be_invoked_by_lua();
>     ]]

Hm, does LuaJIT FFI actually understand __declspec at all?  Remember
it does not understand  full C syntax.  I'd try this one without this
decoration.