Commit graph

322 commits

Author SHA1 Message Date
Marcelo Matus
528c3981be fix enum cast in C
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:39:25 +00:00
Marcelo Matus
c7255e230a add more missing Deletes, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:25:04 +00:00
Marcelo Matus
aa98e6f72d fix ansi warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:53:04 +00:00
Marcelo Matus
a275c0a113 fix template + namespace => infinite loop (see template_matrix.i), reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 23:32:51 +00:00
Marcelo Matus
7695ffc594 fix several memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
fbab379cc3 get rid of static buffers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:36:26 +00:00
Marcelo Matus
ce2c0dce05 fix several memory leaks and add static keys like 'k_name'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:34:44 +00:00
William S Fulton
3b47914307 Warning fix for Intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-06 15:46:04 +00:00
Marcelo Matus
b5875c21bb following Bill's labels patch, we add swiglabels.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
Marcelo Matus
1b7e795c03 add Deletes where needed, to reduce memory use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:48:22 +00:00
John Lenz
67b49825cb Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
3c6559fe47 const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:28:43 +00:00
William S Fulton
e27dfb8739 revert to original typemap matching rules for now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:27:09 +00:00
William S Fulton
fa08396fbe Fix for typemap matching rules when wrapping variables for languages that wrap them via getter/setter functions (C# and Java)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
John Lenz
c3338b1a16 - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
d1f4bec910 more smart pointers + extend fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +00:00
Marcelo Matus
aba193e439 more fixes and cases for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
63ecf6ec37 avoid using reference value for static members, since it can generate unresolved symbols for static const
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
ba413fd500 more smart_pointer + static methods fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +00:00
Marcelo Matus
1bcd974a4e fix %ignore *::Bar::foo case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 21:21:58 +00:00
Marcelo Matus
38ddd05b30 fix template_deftype to work with functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 21:16:13 +00:00
Marcelo Matus
5a0f780ba4 fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 23:03:14 +00:00
Marcelo Matus
db783afdc6 fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:54:40 +00:00
Marcelo Matus
7cb488e057 avoid using of temporal value for wrapping type user + const reference argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-18 05:57:08 +00:00
Marcelo Matus
0ac8253c3f fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
6b499410dd more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
1c382fe97b old extra fix for valuewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:39 +00:00
Marcelo Matus
a94cb015c7 mix patches #748861 and #1041174 for %extend generation code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:03 +00:00
Marcelo Matus
49c6b3f14f add support for smart pointers + %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:29:17 +00:00
Marcelo Matus
9b963f9763 support of typemaps + template + template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:01:03 +00:00
Marcelo Matus
18b74e0d30 reverting to 1.17, the protected constructor problem is now fixed in lang.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:56:35 +00:00
William S Fulton
ed1415ebad Removed last vestiges of enums being handled as integers in the core.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:53:17 +00:00
Marcelo Matus
a603669c8f more on protected ctors+directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 10:35:49 +00:00
Marcelo Matus
c4d6cdf0ab fix non public overload order
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:15:58 +00:00
Marcelo Matus
d4f03d249e fix for value_wrapper + feature:nodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:56:18 +00:00
Marcelo Matus
586f7a876d fix for abstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:55:27 +00:00
Marcelo Matus
7c617cd2f1 fixes for mixed_types.i, multidimension arrays, and arrays +references+typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:53:29 +00:00
Marcelo Matus
c53347f088 fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:30:30 +00:00
Marcelo Matus
782419af6b fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:28:29 +00:00
Marcelo Matus
d9b97420ee fix def value difference between T_POINTER and T_STRING
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 01:41:07 +00:00
Marcelo Matus
5b3e4bc601 fix typemap + numinputs +argout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
William S Fulton
17f6328b8a Common default argument code factored into functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:10:20 +00:00
Marcelo Matus
27660bd461 missing non-null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:27:53 +00:00
Marcelo Matus
b6ced827f8 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/SWIG@6635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:58:49 +00:00
Marcelo Matus
fcd93c0dc7 fixes for Sun Studio 9, test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
896c307fdc more on %rename+%features+ templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:32:37 +00:00
Marcelo Matus
b77ef6461a fix feautures + qual + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 18:14:52 +00:00
Marcelo Matus
b88bb27850 fix SWIGENUM -> enum SWIGTYPE, as is used now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +00:00
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