From: Francesco M. <fr...@us...> - 2006-05-20 19:40:25
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv24463/modules/wxlua/include Modified Files: internal.h wxlbind.h Log Message: modified wrapper generator to include export symbols Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** wxlbind.h 20 May 2006 14:00:48 -0000 1.19 --- wxlbind.h 20 May 2006 19:40:19 -0000 1.20 *************** *** 15,19 **** #include "wxlua/include/wxldefs.h" - #include "wxbind/include/wxbinddefs.h" extern "C" --- 15,18 ---- *************** *** 30,38 **** // memory deallocation function, lua's __gc ! int LUACALL wxLua_lua_garbageCollect(lua_State *L); // lua 'set table' tag method handler, lua's __newindex ! int LUACALL wxLua_lua_setTableFunc(lua_State *L); // lua 'get table' tag method handler, lua's __index ! int LUACALL wxLua_lua_getTableFunc(lua_State *L); // ---------------------------------------------------------------------------- --- 29,37 ---- // memory deallocation function, lua's __gc ! WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_garbageCollect(lua_State *L); // lua 'set table' tag method handler, lua's __newindex ! WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_setTableFunc(lua_State *L); // lua 'get table' tag method handler, lua's __index ! WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_getTableFunc(lua_State *L); // ---------------------------------------------------------------------------- *************** *** 53,57 **** typedef int* wxLuaArgTag; // address of class tag ! struct WXLUAMETHOD // defines a LUA method or property { LuaType type; // type (one of the above enumeration values) --- 52,56 ---- typedef int* wxLuaArgTag; // address of class tag ! struct WXDLLIMPEXP_WXLUA WXLUAMETHOD // defines a LUA method or property { LuaType type; // type (one of the above enumeration values) *************** *** 73,77 **** extern WXDLLIMPEXP_DATA_WXLUA(int) s_wxluaarg_LuaFunction; ! struct WXLUACLASS // defines a LUA class interface { const char *name; // name of the class --- 72,76 ---- extern WXDLLIMPEXP_DATA_WXLUA(int) s_wxluaarg_LuaFunction; ! struct WXDLLIMPEXP_WXLUA WXLUACLASS // defines a LUA class interface { const char *name; // name of the class *************** *** 85,89 **** }; ! struct WXLUADEFINE // defines a wxWidgets define for wxLua { const char *name; // name --- 84,88 ---- }; ! struct WXDLLIMPEXP_WXLUA WXLUADEFINE // defines a wxWidgets define for wxLua { const char *name; // name *************** *** 91,95 **** }; ! struct WXLUASTRING // defines a wxWidgets string for wxLua { const char *name; // name --- 90,94 ---- }; ! struct WXDLLIMPEXP_WXLUA WXLUASTRING // defines a wxWidgets string for wxLua { const char *name; // name *************** *** 97,101 **** }; ! struct WXLUAEVENT // defines a wxWidgets Event for wxLua { const int *eventType; // new wxWidgets event type --- 96,100 ---- }; ! struct WXDLLIMPEXP_WXLUA WXLUAEVENT // defines a wxWidgets Event for wxLua { const int *eventType; // new wxWidgets event type *************** *** 104,108 **** }; ! struct WXLUAOBJECT // Defines a wxWidgets object or pointer for wxLua { const void *objPtr; // a pointer to the object or pointer --- 103,107 ---- }; ! struct WXDLLIMPEXP_WXLUA WXLUAOBJECT // Defines a wxWidgets object or pointer for wxLua { const void *objPtr; // a pointer to the object or pointer *************** *** 155,162 **** // ---------------------------------------------------------------------------- ! #define wxLUA_DECLARE_ENCAPSULATION(theObject) \ class theObject; \ ! void WXDLLIMPEXP_WXLUA LUACALL wxLua_AddToTrackedMemoryList(wxLuaState& wxlState, theObject *); \ ! class wxObject_##theObject : public wxObject \ { \ public: \ --- 154,161 ---- // ---------------------------------------------------------------------------- ! #define wxLUA_DECLARE_ENCAPSULATION(IMPEXPSYMBOL, theObject) \ class theObject; \ ! IMPEXPSYMBOL void LUACALL wxLua_AddToTrackedMemoryList(wxLuaState& wxlState, theObject *); \ ! class IMPEXPSYMBOL wxObject_##theObject : public wxObject \ { \ public: \ *************** *** 187,191 **** // garbage collection purposes. This is a C function for symmetry with // the functions defined using wxLUA_DECLARE_ENCAPSULATION. ! void WXDLLIMPEXP_WXLUA LUACALL wxLua_AddToTrackedMemoryList(wxLuaState& wxlState, wxObject *); // ---------------------------------------------------------------------------- --- 186,190 ---- // garbage collection purposes. This is a C function for symmetry with // the functions defined using wxLUA_DECLARE_ENCAPSULATION. ! WXDLLIMPEXP_WXLUA void LUACALL wxLua_AddToTrackedMemoryList(wxLuaState& wxlState, wxObject *); // ---------------------------------------------------------------------------- Index: internal.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/internal.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** internal.h 20 May 2006 14:00:48 -0000 1.29 --- internal.h 20 May 2006 19:40:19 -0000 1.30 *************** *** 107,111 **** // ---------------------------------------------------------------------------- ! class wxLuaTreeItemData : public wxTreeItemData { public: --- 107,111 ---- // ---------------------------------------------------------------------------- ! class WXDLLIMPEXP_WXLUA wxLuaTreeItemData : public wxTreeItemData { public: |