lua-users home
lua-l archive

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


> 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/