Added WX_DEFINE_*_USER_EXPORTED_ARRAY macros for external dlls.
updated debian scripts to build with python2.1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -438,10 +438,27 @@ private: \
|
||||
typedef T _A##name; \
|
||||
_WX_DEFINE_SORTED_ARRAY(_A##name, name, class WXDLLEXPORT)
|
||||
|
||||
#define WX_DEFINE_EXPORTED_OBJARRAY(name) WX_DEFINE_OBJARRAY(name)
|
||||
#define WX_DECLARE_EXPORTED_OBJARRAY(T, name) \
|
||||
typedef T _L##name; \
|
||||
_WX_DECLARE_OBJARRAY(_L##name, name, class WXDLLEXPORT)
|
||||
|
||||
// ..and likewise these macros do very same thing as the ones above them too,
|
||||
// but allow the user to specify the export spec. Needed if you have a dll
|
||||
// that wants to export a wxArray daubed with your own import/export goo.
|
||||
#define WX_DEFINE_USER_EXPORTED_ARRAY(T, name, usergoo) \
|
||||
typedef T _A##name; \
|
||||
_WX_DEFINE_ARRAY(_A##name, name, class usergoo)
|
||||
|
||||
#define WX_DEFINE_SORTED_USER_EXPORTED_ARRAY(T, name, usergoo) \
|
||||
typedef T _A##name; \
|
||||
_WX_DEFINE_SORTED_ARRAY(_A##name, name, class usergoo)
|
||||
|
||||
#define WX_DEFINE_USER_EXPORTED_OBJARRAY(name) WX_DEFINE_OBJARRAY(name)
|
||||
#define WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name, usergoo) \
|
||||
typedef T _L##name; \
|
||||
_WX_DECLARE_OBJARRAY(_L##name, name, class usergoo)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
/** @name Some commonly used predefined arrays */
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user