Commit graph

274 commits

Author SHA1 Message Date
Marcelo Matus
f6070b825f more ugly template+typedefs+namespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
01dbfb9f5e %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/SWIG@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +00:00
Marcelo Matus
8c3bbd578f fix compactdefarg + const ref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 06:45:10 +00:00
Marcelo Matus
cf3f26b5f9 Oops, missing 'else' in the old SwigValueWrapper mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:01 +00:00
William S Fulton
cd22d76972 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
William S Fulton
74f9ab820b compact default arguments feature (original default argument wrapping mode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
Marcelo Matus
a66c87f147 fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
7dfcb56369 fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
f9974297d6 add del_array method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:01:06 +00:00
Marcelo Matus
85905ac7a2 fix typedef_reduce + namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:53:42 +00:00
Marcelo Matus
4897829d0f allow overide the warn codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:50:46 +00:00
Marcelo Matus
6cfa53e462 more fixes for feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:40:39 +00:00
Marcelo Matus
346171f612 allow mixed primitive types in the default type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:39:53 +00:00
William S Fulton
13926748ee templated function overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:41:17 +00:00
William S Fulton
f331ce63c0 minor superficial mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:32:18 +00:00
Marcelo Matus
2459ec99d1 add initial C99 complex support + long double
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 08:18:14 +00:00
Marcelo Matus
1d1b75d98f fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
5f45025e75 added the . See lextype.i example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:14:31 +00:00
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
c3b41dd959 strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
William S Fulton
60d5d3c855 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/SWIG@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
Marcelo Matus
e84e28b276 remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:59:13 +00:00
Marcelo Matus
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
dddf810a71 code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:29:45 +00:00
William S Fulton
dce86404a1 not a lot has changed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:28:39 +00:00
William S Fulton
656e5c61f3 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/SWIG@6307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:27:55 +00:00
William S Fulton
10c00a9e45 New default arg wrapping support method added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:22:35 +00:00
Marcelo Matus
526e70e592 fix fnc_ptr wrap for functions with ref,enums,etc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-01 21:45:28 +00:00
Marcelo Matus
0420621ce7 added the -I- option and %include <file>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 05:55:43 +00:00
William S Fulton
8b804fddcf const fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 22:02:31 +00:00
William S Fulton
70891c9867 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/SWIG@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +00:00
William S Fulton
8f1a476448 const fixes for allegro module usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:48:46 +00:00
William S Fulton
e203a700c2 pesky warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:46:22 +00:00
William S Fulton
a03dad3a41 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/SWIG@6037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:53:23 +00:00
William S Fulton
f7306ec0cb New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
edcd297829 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/SWIG@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
Marcelo Matus
08718830bf fixes for const char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
William S Fulton
ca0cb04690 unnamed global enum variables support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
da284c4e93 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/SWIG@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
Marcelo Matus
405a7335a7 fix java reg. tests and add -directors flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 05:55:35 +00:00
Marcelo Matus
fd1c9fb316 fix inplace python opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
William S Fulton
4a31a07a5b Comments on the symbol table added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:23:01 +00:00
William S Fulton
81a2cab015 enum fixes for the typesystem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:22:01 +00:00
Marcelo Matus
3c0fe7cae7 fix array + typedef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:45:22 +00:00
Marcelo Matus
be560544f5 fix casting type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 03:58:47 +00:00
Marcelo Matus
e7f9a34649 slightly better support for template const/dest and features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 11:29:54 +00:00
Marcelo Matus
e00522f427 added support for unnamed C++ enum members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 01:35:44 +00:00
Marcelo Matus
2e50998bd0 fixes some compiler warnings, and add better support
for member variables (in C++/python).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-28 14:04:36 +00:00
Marcelo Matus
f958140af5 simpler mangling method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:47:54 +00:00
Marcelo Matus
a27e364d14 Using the same mangling method whenever is needed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 00:59:26 +00:00