[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C Function Declarations
- From: Reuben Thomas <rrt1001@...>
- Date: Mon, 16 Oct 2000 14:09:39 +0100 (BST)
> 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