Marcelo Matus
ca6875444b
fix csharp RealVector problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:40:38 +00:00
Marcelo Matus
26c4ba0818
add nomatch option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:44:31 +00:00
Marcelo Matus
306d7f4ffd
fix missing filename in macro warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:43:58 +00:00
Marcelo Matus
8f010f1936
cleanup and fix 'fullname' option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:38:45 +00:00
Marcelo Matus
eb3b0f6b30
add fullname to the php4 kw warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 10:18:49 +00:00
Marcelo Matus
71894cf4b0
using the swig keys in cwrap.c
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:49:36 +00:00
Marcelo Matus
d8df17c6f5
cosmetics + docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:48:20 +00:00
Marcelo Matus
55005e98ee
Move rename/namewarn engine from parser.y to naming.c. The code was getting
...
too large to be in the parser.
Centralize the swig keys to avoid replication and wrong spellings.
Use more HashGetAttr where possible and other speed improvements
to compensate for the extra work introduced by the new rename/namewarn
mechanism.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
d4969b4d0e
add missing hidden attr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:21:17 +00:00
Marcelo Matus
48d21c2b35
avoid multiple Len() calls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:03:35 +00:00
Marcelo Matus
2a3e528169
fixes and docs in %rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
cd0b345ebd
add naming init and other string cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:37:28 +00:00
Marcelo Matus
c567ffaf27
fix for operator() + template + gcc 3.3.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:47:13 +00:00
Marcelo Matus
27fc8e577d
fix features/rename for template constructors/destructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:00:32 +00:00
Marcelo Matus
262c2f2f37
missing add SWIGINTERN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:10 +00:00
Marcelo Matus
eb913fd8c4
remove debug prints
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:09:51 +00:00
Marcelo Matus
88e6edcac3
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
947d02d481
add the 'match' option to force,for example, that the 'freearg' typemap only get applied when it mathes the 'in' typemap type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:56:25 +00:00
Marcelo Matus
e967423c4b
fix consistence between reduce/qualify template types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:50:24 +00:00
Marcelo Matus
a275bbd30f
add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Charlie Savage
099e562d6e
Changed a variable name from cdecl to cdecl_. The reason for the change
...
is this caused VC++ 8.0 to throw an error when trying to compile SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 09:24:50 +00:00
Marcelo Matus
846b944917
normalize operation, first reduce, then qualify
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:12:15 +00:00
Marcelo Matus
ef800abf8d
fix template + operator()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:10:38 +00:00
Marcelo Matus
5b34d656e6
fix recursive inclusion seg fault
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:04:47 +00:00
Marcelo Matus
37c3c25427
fix for the switch/case:
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:54 +00:00
Marcelo Matus
94a82526ec
fix %extend(%typemaps + %fragments) before class declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +00:00
Marcelo Matus
6910efd151
fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
cbca8a3e88
add 'self' attribute for later use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:26:37 +00:00
Marcelo Matus
99f0122d0d
fix for templates to avoid using the templatereduce mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:25:28 +00:00
Marcelo Matus
28df9d1049
fixes for 'typedef unsigned long size_t'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:38:09 +00:00
Marcelo Matus
3955965739
more memory leaks fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
8339ab579d
add template type cache
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:15:44 +00:00
Marcelo Matus
bc5b7bc559
more memory leaks...
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 00:36:28 +00:00
Marcelo Matus
42a2d35e9a
add Swig_scopename_split
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 00:07:07 +00:00
Marcelo Matus
645f95d633
fix many/many memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
f714a2615d
remove many memory leaks and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
628dc6b32b
add NewStringEmpty, use more StringEuqual and less Strcmp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
d4e1bae364
use direct methods for string, hash and avoid Strstr/Strnstr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:44:12 +00:00
Marcelo Matus
72469f2d26
add direct HashCheckAttr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 09:58:26 +00:00
Marcelo Matus
7a77a7feb9
several clean/speed ups
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:58:24 +00:00
Marcelo Matus
c12e955b0e
fix for perl + multiple modules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
William S Fulton
8c8a47c03d
fix and make publicly available the upper case and lower case conversion functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:59:01 +00:00
Marcelo Matus
f2d1e94900
add owndata field to swig_type_info, so clientdata can be properly delete if needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:53:30 +00:00
Marcelo Matus
c50b5284e2
fix name_set extra mangling that confuses chicken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:30 +00:00
Marcelo Matus
d34532e249
make all the suffix/prefix operations aware of operators, as in 'Foo::operator ns2::Bar()', where the prefix is 'Foo'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:25:18 +00:00
Marcelo Matus
edf21ab130
fix extra mangling that confuses chicken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:22:42 +00:00
Marcelo Matus
1a4b7561d3
fix problem with operator < + templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:45:20 +00:00
Marcelo Matus
b3f0c0f60c
all the SwigType_add/delete methods now return the pointer of the modified type, so, we can reduce temporal variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:37:51 +00:00
Marcelo Matus
33fed0883b
manage the labels as fail:
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
d2a6728430
disown the 'self' pointer when deleting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00