Commit graph

4,068 commits

Author SHA1 Message Date
William S Fulton
0870b84abc Uniform handling of SWIGEXPORT across SWIG (was DllExport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:40 +00:00
William S Fulton
de35943f2f Uniform SWIGEXPORT handling across SWIG (was DllExport in C# module)
SWIGSTDCALL moved to swiglabels.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:37:29 +00:00
William S Fulton
2c68f72234 Uniform SWIGEXPORT handling, reverting back to SWIG-1.3.24 approach, plus changes which remove unnecessary Borland specific handling.
SWIGSTDCALL available for all languages and can be overidden by users.
General tidy up.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:35:41 +00:00
William S Fulton
e728c09704 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:51:14 +00:00
William S Fulton
5e7afa2a6c added csharp_features.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:50:24 +00:00
William S Fulton
7fd7642237 test %csmethodmodifiers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:54 +00:00
William S Fulton
b29514ffcf %csmethodmodifiers can be applied to variables as well as methods now.
%csmethodmodifiers will replace the virtual/new/override modifiers that SWIG thinks is
appropriate in addition to the default 'public'. This is necessary for some obscure cases
where SWIG might get the modifiers incorrect, for example with private inheritance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:03 +00:00
William S Fulton
3b45bd4946 remove python keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:43 +00:00
Marcelo Matus
a2f5af9ddd fix #1188207 and uniform the error/null/none handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:33 +00:00
Marcelo Matus
645c1698fa fix #1207803
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:42:24 +00:00
William S Fulton
e00f6e07af *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:39:24 +00:00
William S Fulton
95a412b8e8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:37:47 +00:00
William S Fulton
4c4e3f47ad added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
b7ff842e59 Added std::pair wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:53 +00:00
William S Fulton
1f6afbffa6 Added std::map wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:14 +00:00
William S Fulton
628a069239 Apply same treatment to methods added to a class via the 'using' declaration as normally declared and %extend declared methods
Fixes for virtual method detection (for methods with non-public access)
Better detection of 'hidden' methods - a non-virtual identical method in the base, (needed for C# 'new' method modifiers)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:31:33 +00:00
William S Fulton
05dcdca824 Fix incorrect access for methods added via the 'using' declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +00:00
William S Fulton
c697a7368a Fix incorrect access for methods added via the 'using' declaration
Exception specifications were not being added to methods added via the 'using' declaration


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton
8131f53e11 remove for now this test that causes stack overflow due to recursive calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:18:18 +00:00
William S Fulton
fcf2afc3a9 test using declaration for methods with an exception specification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:17:17 +00:00
William S Fulton
ad46f2ef3e test class hierarchies where the access changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:15:01 +00:00
William S Fulton
c307af0127 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:10:10 +00:00
William S Fulton
4ecb8a906b More extensive covariant return types tests
More tests for virtual and non virtual methods in a class hierarchy (for C# new and override method modifiers)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:09:39 +00:00
William S Fulton
fd219b7107 %extend in class hierarchy tests (for C# override and new method modifiers)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:05:52 +00:00
William S Fulton
d00a8ee60f Covariant return types fixes
Any method which hides a base method is marked (for C# 'new' method modifier)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:03:50 +00:00
William S Fulton
d8c140e82a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:02:31 +00:00
William S Fulton
33f5d4aff7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:45:10 +00:00
William S Fulton
7984c13d4b more STL support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:43:46 +00:00
William S Fulton
e00fede3f9 wstring typemaps moved from std_string.i std_wstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:27:51 +00:00
William S Fulton
a10cfa80dd Fix for crash in DohStrstr, bug #1190921
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:31:30 +00:00
William S Fulton
89e581e19c Fix for methods with similar names when showing list of names on error - bug #1191828. Patch from Jeroen Dobbelaere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:09:18 +00:00
William S Fulton
b417ef575e tcl long long overloading fix - bug #1191835, patch from Jeroen Dobbelaere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:51:31 +00:00
William S Fulton
6e4f04b393 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:25:36 +00:00
William S Fulton
6ac7bd813b remove debug (bug #1196755)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:24:13 +00:00
William S Fulton
326949ffe9 function comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:41:21 +00:00
William S Fulton
f491e1416d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:40:23 +00:00
William S Fulton
0757a8f634 More covariant tests and polymorphic methods tests to test C# override keyword.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:36:43 +00:00
William S Fulton
7a72389977 covariant and override attributes better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:32:34 +00:00
William S Fulton
88f2cdc5bd Fix bugs in detection of polymorphic methods
- when %ignore used on class
- when typedefs involved


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:31:41 +00:00
Marcelo Matus
61c97d7943 add template + typedef + fnc case reported by Carlos Pita. Broken in 1.3.24, but works in CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-16 01:18:47 +00:00
William S Fulton
71646dcd81 more fixes for gcc -fstrict-aliasing -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:51:16 +00:00
William S Fulton
94e6c86d06 Fixes to remove "dereferencing type-punned pointer will break strict-aliasing rules" warnings in C wrappers when compiling C code with 'gcc -Wall -fstrict-aliasing'. Patch from Michael Cahill.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
9bd7f1ec9a whitespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:40:55 +00:00
William S Fulton
2efc803b8e more pesky warnings removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:39:09 +00:00
William S Fulton
07019d1a97 minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:36:58 +00:00
William S Fulton
1ab2aa5ba5 tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 21:07:22 +00:00
William S Fulton
2a8a9fc72e fix for undefined reference on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:46:20 +00:00
William S Fulton
39b2764e6d enum attribute check added in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:40:38 +00:00
William S Fulton
2d989e2f6d C# attribute support added - %csattributes feature, %csattributes typemap
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.
Links to external documentation on interop added.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:21:48 +00:00
William S Fulton
a0712b227f C# attribute support added - %csattributes feature, %csattributes typemap
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00