Marcelo Matus
1ac74dac03
fix warning about non-initialized result, and add missing deletes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:34:27 +00:00
Marcelo Matus
8bcc0bf8eb
fix warnings/errors for gcc4.0, icc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
fd9db14a98
fixes for the except/callback attributes to follow new flag feature convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
William S Fulton
97c2eeaf90
compact default arguments feature (original default argument wrapping mode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
William S Fulton
491a90c21b
New default argument wrapping approach. This adds default argument support for statically typed languages, fixes wrapping of default arguments that are non-public plus fixes other bugs where SWIG could not or failed to correctly lookup up the default value in the symbol table.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:32:28 +00:00
William S Fulton
3e5741f582
unnecessary check and code simplification when emitting value type returns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-03 22:17:14 +00:00
William S Fulton
4035e3474c
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:52:36 +00:00
William S Fulton
0b7b1edad1
const fixes for allegro module usage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:48:46 +00:00
Marcelo Matus
354b4f2ccb
more fixes for exceptions and ref.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:17:15 +00:00
William S Fulton
4d6578deea
Fix for exception specifications that are references. Also improves the generated
...
exception declarations in the catch handler for pointers - a pointer is used
instead of a reference to a pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:03:46 +00:00
Marcelo Matus
7cf48c0f25
Fix generation of multiple throws
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 03:34:40 +00:00
Marcelo Matus
23ea59435d
fix dirprot mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:20:04 +00:00
William S Fulton
83a6039fa6
Removed redundant catch(...) { throw; } code generation when wrapping exception specifications and throws typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-19 21:34:58 +00:00
Marcelo Matus
48d11474ee
- Normalize the 'Swig_error' calls and formats, before some
...
of the strings start like "Error. XXX", others like "XXX".
The format is now defined in 'error.c:Swig_error_msg_format()'.
- Normalize the multiline error/warning messages to correctly
use -Fformat definition.
- Centralize the error/warning format definitions in
'error.c:Swig_error_msg_format()'.
- Fix a minor error in cpp.c, that after finding an error, still
was emitting a redefined macro, producing duplicated error/warning
messages in parser.y.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 08:33:12 +00:00
Marcelo Matus
b32024f2ab
fix precatching exception behaviour to postcatching
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-12 23:40:58 +00:00
William S Fulton
62ba646c89
Moved non static function declarations from source files into header files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-28 21:48:39 +00:00
William S Fulton
66a19d43b0
remove SWIG_exception for director protected methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 23:52:31 +00:00
Marcelo Matus
beb5d78df2
bad spelling in warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:09:53 +00:00
William S Fulton
f0efb84549
pesky warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 22:06:14 +00:00
Marcelo Matus
c7d4362896
director protected support cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 21:56:14 +00:00
Dave Beazley
9f9b71ed6c
Fixed bus error. Removed inline functions. Minor cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 15:24:39 +00:00
Marcelo Matus
7bbbe3b274
Moving the director protected member support to the top level. Now it should works in all the languages. Test it.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
William S Fulton
3772663815
extern method declarations moved to header file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:15 +00:00
Dave Beazley
617e91dcbc
Modified contract support (simplified).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:58:13 +00:00
Dave Beazley
306683fc3c
Contract checking now turned on by default. Some other cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:17:52 +00:00
Dave Beazley
928e3ed815
Restored contract support. Fixed error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:23:56 +00:00
Dave Beazley
52fcd3df75
Removed contract code from swigmod.h. Violates intended modularity of this file.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-09 15:57:54 +00:00
Tiger Feng
04d557113f
modified contract output format
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:11:11 +00:00
Tiger Feng
75ca26902b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:19:41 +00:00
William S Fulton
06ed231b7d
-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@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Tiger Feng
dde9afd927
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:12:35 +00:00
Dave Beazley
d639484260
Cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:29:01 +00:00
Tiger Feng
9203f8a00c
wrap by contract work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:18:44 +00:00
Tiger Feng
5a9a3b5d56
Experimental contract work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 17:43:05 +00:00
Dave Beazley
5bad01da3f
preassert-postassert patch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 18:23:03 +00:00
William S Fulton
53f8457aa6
vararg support for Java and C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Dave Beazley
02efd1cc23
varargs patch. Critical that we check all of the language modules to make sure they still work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 16:16:12 +00:00
Dave Beazley
ed29aec0bc
Fixed [ 649022 ] Compilation problems with KAI/KCC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-06 20:10:56 +00:00
Dave Beazley
951fff2c7a
File move
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00