Update of /cvsroot/wxlua/wxLua/modules/luamodule/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3662/modules/luamodule/src
Modified Files:
luamodule.cpp
Log Message:
Fixed luamodule for win32 builds
Index: luamodule.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/luamodule/src/luamodule.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** luamodule.cpp 20 May 2006 19:57:58 -0000 1.2
--- luamodule.cpp 21 May 2006 14:43:36 -0000 1.3
***************
*** 10,17 ****
#include "wx/image.h" // for wxInitAllImageHandlers
#include "wxlua/include/wxlstate.h"
extern "C"
{
! int luaopen_wx(lua_State *L); // force C linkage w/o name mangling
}
--- 10,18 ----
#include "wx/image.h" // for wxInitAllImageHandlers
#include "wxlua/include/wxlstate.h"
+ #include "luamodule/include/luamoduledefs.h"
extern "C"
{
! WXDLLIMPEXP_LUAMODULE int luaopen_wx(lua_State *L); // force C linkage w/o name mangling
}
***************
*** 27,31 ****
// ----------------------------------------------------------------------------
! class wxLuaModuleApp : public wxApp
{
public:
--- 28,32 ----
// ----------------------------------------------------------------------------
! class WXDLLIMPEXP_LUAMODULE wxLuaModuleApp : public wxApp
{
public:
|