[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua in DLL
- From: Wim Couwenberg <debosberg@...>
- Date: Wed, 24 Dec 2003 05:18:32 -0800 (PST)
> Place #include <lua.h> in an extern "C" block, or
> alternatively #define LUA_API extern "C"
> __declspec(dllexport)
>
This will prevent C++ mangling, not the "_" (and "@")
mangling that comes with __cdecl (and __stdcall),
which is what Jamie probably meant. Sorry...
--
Wim
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/