Commit graph

285 commits

Author SHA1 Message Date
Marcelo Matus
0039b9604d fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:30:30 +00:00
Marcelo Matus
8bc4ce3ee5 fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:28:29 +00:00
Marcelo Matus
dc3b6659f5 fix def value difference between T_POINTER and T_STRING
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 01:41:07 +00:00
Marcelo Matus
523c3c6e73 fix typemap + numinputs +argout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
William S Fulton
b248a54dc8 Common default argument code factored into functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:10:20 +00:00
Marcelo Matus
2b71e5fe23 missing non-null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:27:53 +00:00
Marcelo Matus
94a6a89af7 more fixes for %features, now doint it right, ie, deleting code instead of adding
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:58:49 +00:00
Marcelo Matus
18d3f92b53 fixes for Sun Studio 9, test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
de1ed9d840 more on %rename+%features+ templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:32:37 +00:00
Marcelo Matus
d6e3a92182 fix feautures + qual + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 18:14:52 +00:00
Marcelo Matus
7afd2f554b fix SWIGENUM -> enum SWIGTYPE, as is used now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +00:00
Marcelo Matus
67a4137c2c more ugly template+typedefs+namespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
f5adbd3f6f %apply also looks for a typedef match if it doesn't find a match at first
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +00:00
Marcelo Matus
2a41ec6bf5 fix compactdefarg + const ref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 06:45:10 +00:00
Marcelo Matus
5630e78234 Oops, missing 'else' in the old SwigValueWrapper mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:01 +00:00
William S Fulton
79bec67051 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +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
Marcelo Matus
a75d2b0a4c fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
7010b3004e fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
7b33c27230 add del_array method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:01:06 +00:00
Marcelo Matus
dfa9548fc1 fix typedef_reduce + namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:53:42 +00:00
Marcelo Matus
d63d1b852b allow overide the warn codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:50:46 +00:00
Marcelo Matus
de66fae0ba more fixes for feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:40:39 +00:00
Marcelo Matus
fa0256cb09 allow mixed primitive types in the default type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:39:53 +00:00
William S Fulton
77eef87058 templated function overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:41:17 +00:00
William S Fulton
061037ab3a minor superficial mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:32:18 +00:00
Marcelo Matus
41058bf661 add initial C99 complex support + long double
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 08:18:14 +00:00
Marcelo Matus
8c9152c376 fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
d35c5a7a32 added the . See lextype.i example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:14:31 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
6f5b5d3b7c strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
William S Fulton
e80495a29a remove symbol fix for when the symbol/function is overloaded. Fixes some obscure %extend bugs when the methods are overloaded or have default arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
Marcelo Matus
d92387b42f remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:59:13 +00:00
Marcelo Matus
2792ac8752 several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
0cd6151c77 code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:29:45 +00:00
William S Fulton
e26dfd5f6a not a lot has changed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:28:39 +00:00
William S Fulton
ebc7b406dd mods to use "default" typemap instead of default arguments for new default argument wrapping approach. Mainly %extend mods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:27:55 +00:00
William S Fulton
861773b4b2 New default arg wrapping support method added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:22:35 +00:00
Marcelo Matus
6b9fdc6c86 fix fnc_ptr wrap for functions with ref,enums,etc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-01 21:45:28 +00:00
Marcelo Matus
7cc6470fe6 added the -I- option and %include <file>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 05:55:43 +00:00
William S Fulton
153427fe0a const fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 22:02:31 +00:00
William S Fulton
5f3b26901c Fixes for -fmicrosoft error/warning message display:
- EOF not displaying in correct format
- Some error messages containing a path were using a double backslash instead of a single backslash


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +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
William S Fulton
b54804260f pesky warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:46:22 +00:00
William S Fulton
afecabc4f3 XML patch from Robin Dunn adds -dump_xml and -xmlout <file> for generating XML of post processed parse tree
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:53:23 +00:00
William S Fulton
24a7f00d0a New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
2c301423bf Patch to fix wrapping of templated methods. ISO compliant compilers, like
Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating
when calling the method. This fix may break some non standard compliant compilers,
for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted
by Bill Clarke.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
Marcelo Matus
a04dc64d04 fixes for const char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
William S Fulton
b6cb23c83e unnamed global enum variables support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
d346f06722 unnamed enum member variables - less verbose code generation that has a single solution for all compilers. Will only fail silently (no printfs like before) when using compiler switches that force enums to be different size to integers. If anyone ever does this, I will eat my hat
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00