Commit graph

1,901 commits

Author SHA1 Message Date
Mark Rose
94e1afc19d Complex director typemap fixes (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 08:08:43 +00:00
Mark Rose
c3f1a4a180 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:05:03 +00:00
Mark Rose
ec6251e86d Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
William S Fulton
7ad2fa11dc exception runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 21:07:12 +00:00
William S Fulton
5a33bdba29 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 21:04:16 +00:00
William S Fulton
dbbef5754d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:09:48 +00:00
William S Fulton
49b83f44ed Support for throwing C# exceptions from C/C++ - $module special variable.
Pinvoke method's calling convention fix.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:09:32 +00:00
William S Fulton
dbb7096b05 Support for throwing C# exceptions from C/C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:05:15 +00:00
William S Fulton
f2a45a16d7 Support for throwing C# exceptions from C/C++:
- throws typemaps implemented.
- SWIGTYPE& and SWIGTYPE typemaps throw a NullReferenceException if a C# null is passed as a parameter


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:03:26 +00:00
William S Fulton
4a8e40a3ae Support for throwing C# exceptions from C/C++
Fix for pinvoke methods calling convention on Windows (__stdcall). The default calling conventions in the C# 'extern' method now matches the C function calling convention declaration.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:02:10 +00:00
William S Fulton
cae5ca7a36 Changed to work with Mono and Microsoft compilers instead of pnet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-27 09:35:40 +00:00
William S Fulton
351f8daed5 Mods to work with Mono, Microsoft and pnet compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-27 09:32:18 +00:00
William S Fulton
eb48c95622 C# clean improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-27 09:31:04 +00:00
William S Fulton
e87b3ac8eb Fixes for detecting the different C# compilers/interpreters
Neaten 'configure --help' output


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-27 09:29:46 +00:00
William S Fulton
017b28a8be Cleaned up new warnings introduced by prev patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-22 22:26:39 +00:00
William S Fulton
69f851a236 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 12:44:11 +00:00
William S Fulton
2f38702eb6 Reworked std::string typemaps.
Fixes various string in std namespace problems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 12:42:09 +00:00
William S Fulton
092df069bd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 10:07:37 +00:00
William S Fulton
61e4fa4202 vector<std::string> specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 09:55:49 +00:00
Dave Beazley
2ff7dfb6c1 Work on embedded typemaps. Highly experimental--probably broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 21:19:27 +00:00
Dave Beazley
c82e95ae03 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 21:04:03 +00:00
Luigi Ballabio
8c6a8371d1 Allow for strings with embedded zeros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 12:00:17 +00:00
Luigi Ballabio
62741dd03e Typemap for size_t applied to std::size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Dave Beazley
f133111e79 Warning cleanup. Etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 19:37:27 +00:00
Dave Beazley
5e6c2f8da2 Fixed [ 761844 ] bug in typemap in Python Swig docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:25:51 +00:00
Dave Beazley
220200b31a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:22:13 +00:00
Dave Beazley
c4a60c1415 Fixed [ 763522 ] 1.3.19 segfault in SwigType_add_pointer/DohInsertitem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:22:08 +00:00
Dave Beazley
37954e04e2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:13:32 +00:00
Dave Beazley
d40a0551d4 Fixed [ 763563 ] Missing indication of optional arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:11:36 +00:00
Dave Beazley
22b3856a17 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 17:48:21 +00:00
Dave Beazley
2292d549fd Fixed [ 787432 ] long param handled as int
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 17:47:33 +00:00
Dave Beazley
cb1ec493ab *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:25:51 +00:00
Dave Beazley
d447d2fd5e Fixed [ 775989 ] numeric template parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:24:31 +00:00
Dave Beazley
0050ff503f new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:20:31 +00:00
William S Fulton
16bede8227 swig* refinements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 17:55:36 +00:00
Dave Beazley
5f9849dfbb Further patch to :: space handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 17:55:04 +00:00
Dave Beazley
84aed5e679 more difficult version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 17:54:27 +00:00
Mark Rose
ce452b8b8d Director typemap cleanup and return by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 02:38:45 +00:00
Mark Rose
c64a331078 Directors ignore private ctors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 01:05:05 +00:00
Logan Johnson
5135594fb0 Updated one of the example programs (under operator overloading) to make
use of the newer (standard) STL library modules for SWIG.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-08 22:15:51 +00:00
William S Fulton
65910b9735 -outdir added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-08 12:01:21 +00:00
William S Fulton
08aa0537c9 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-08 12:00:59 +00:00
William S Fulton
4d32c47be3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-08 11:56:19 +00:00
William S Fulton
7011ce038a Added new -outdir commandline option and missing language module options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-08 11:47:17 +00:00
William S Fulton
7841619e84 Fix for windows. Files were not being generated into the correct directories if the Windows path separator was used. The Unix separator '/' had to be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:24:54 +00:00
William S Fulton
6c71e9d478 -outdir commandline option support => directory for proxy class and other language specific files
-help tidy up


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Dave Beazley
3996f7d050 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 16:16:03 +00:00
Dave Beazley
8564ddabf0 Improvements to array handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 16:16:00 +00:00
Dave Beazley
b723959561 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:46:17 +00:00
Dave Beazley
16d2a79297 Fixed [ 779062 ] Class"\n"::foo not supported.
Also changed 'char' to 'int' in a few places to silence warning messages.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:46:00 +00:00