lua-users home
lua-l archive

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


>    Note: I think that "dllexport" is available only in Visual C++.

Cygwin gcc supports this too.

>    (Note: __declspec(dllexport) this is valid only for Visual C++ "6" )

& gcc (I think with the same syntax).

> CONCLUSIONS of the suggestions:
> 
>     - Add the extern "C"
>     - Add a macro LUA_API_FUNCTION just before every exported function 
> declaration and definition

Sounds sound.

-- 
http://sc3d.org/rrt/ | certain, a.  insufficiently analysed