[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++ integration / DSEL alternative questions
 
- From: steve donovan <steve.j.donovan@...>
 
- Date: Tue, 1 Apr 2014 14:36:34 +0200
 
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.