Commit graph

820 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
William S Fulton
015c75b224 Mods to remove warnings that mono-1.1.7 produces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:47:32 +00:00
William S Fulton
c2e9c01ab1 Scott Michel director patch, typemap consolidation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
f7cad9956b over eager garbage collection fix - use HandleRef instead of IntPtr to hold the C++ pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 21:58:24 +00:00
Marcelo Matus
6f189454fe fix directorin typemap, bug #1179300
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-17 06:50:31 +00:00
John Lenz
b599732cdc Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
John Lenz
56ac2ae4b1 Add some chicken test-suite entries for overloaded functions
(which now work correctly) and update the chicken documentation


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-07 00:39:28 +00:00
John Lenz
211ddefb74 Some chicken bug fixes for overloaded -proxy methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 20:39:57 +00:00
John Lenz
7e55b36764 Chicken: a few bug fixes, a new example and some new test suite runme, and some doc updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:48:31 +00:00
Marcelo Matus
06833547b7 allow to use iostream and sstream without wchar support, as pointed by Scott
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-03 03:16:25 +00:00
Marcelo Matus
73ac0670b0 allow to use iostream and sstream without wchar support, as pointed by Scott
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-02 20:24:13 +00:00
Marcelo Matus
d1bec74c9c allow to use iostream and sstream without wchar support, as pointed by Scott
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-02 19:06:31 +00:00
Marcelo Matus
5702970de9 allow to use iostream and sstream without wchar support, as pointed by Scott
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-02 18:52:10 +00:00
William S Fulton
506d1a02b9 Consistent warning 470 across all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:30:08 +00:00
William S Fulton
aa44d06e90 Consistent warning 470 across all languages
Fix const ref directorout typemaps


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:27:53 +00:00
William S Fulton
a79b16c34f Fix last fix!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:26:31 +00:00
William S Fulton
1b00d2e007 Consistent warning 470 across all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:24:44 +00:00
Matthias Köppe
c07de8d45f Fix last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 19:55:12 +00:00
Matthias Köppe
c4de71d6e5 Patch from Hans Oesterholt for supporting MzScheme 30x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 11:43:22 +00:00
John Lenz
c842f81d21 Improvements to the chicken module: tinyclos works with overloaded methods and some other changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 06:33:16 +00:00
William S Fulton
3563de51ee director typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:51:58 +00:00
William S Fulton
61c6a09ff2 half working director typemaps removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:51:28 +00:00
William S Fulton
39f21be78e Fix #1124490. Fix Perl macro clashes when using Visual Studio's STL string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:44:53 +00:00
William S Fulton
09dfe38209 Updated method names since move to new pending exception approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 23:59:02 +00:00
Marcelo Matus
9894f1b2d3 fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:38:32 +00:00
Marcelo Matus
7ee5f85b5a fix prototype warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 19:35:42 +00:00
John Lenz
a09045ab5c Some updates to the chicken documenatation, a few more fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 22:19:46 +00:00
John Lenz
897e5ad40d Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
The only tests that are failing are ones that depend on std_vector.i and similar


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
John Lenz
6bcccbe455 Fix a few more chicken bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
61330651b0 Fix a few bugs in the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 23:02:58 +00:00
William S Fulton
17f65da214 Modifications to the typemaps giving users fine control over memory ownership and lifetime of director classes. Patch from Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:31:31 +00:00
John Lenz
2bdd9cda1e Add garbage collection support to the chicken module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:15:47 +00:00
Marcelo Matus
6bb35657f2 fix possible seg fault when reporting bad object type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 21:16:25 +00:00
Marcelo Matus
a25fbd5159 fix seg fault when runtime fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-12 01:11:49 +00:00
William S Fulton
1b74b48d51 SWIGTYPE out typemap mod to fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:33:32 +00:00