Marcelo Matus
d3803cbe4c
fix uninitialized const member SpeedClass::myColour2
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 07:24:13 +00:00
Marcelo Matus
5e4add70ed
another case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:51:49 +00:00
Marcelo Matus
2734216bb7
better test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:05:37 +00:00
Marcelo Matus
c975833b27
add new broken case template_typedef_ptr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:51 +00:00
Marcelo Matus
18592f7491
move array_typedef_memberin, since it works now, and add new broken template_typedef_ptr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:11 +00:00
Marcelo Matus
d1be16a5d3
add None ptr case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:57:16 +00:00
Marcelo Matus
74eb5b7dc3
add inplace test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:56:14 +00:00
William S Fulton
75d5b64fa1
enum_thorough, more comprehensive enum testing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:02:37 +00:00
William S Fulton
cd62640ebe
_a -> m_a name change
...
_a member variable clashes with get_a() for languages that use getter and setter methods for member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:01:43 +00:00
Marcelo Matus
f4d82c2d62
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 03:32:41 +00:00
Marcelo Matus
7ac0a7f883
accept None in std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 01:20:41 +00:00
Marcelo Matus
c4b9434b15
add test for std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 00:53:48 +00:00
Marcelo Matus
51c3be3e75
added primitive_types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:55 +00:00
Marcelo Matus
7de77b0bc3
testing wchar_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:27 +00:00
Marcelo Matus
6abaf3fdb9
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:26:20 +00:00
Marcelo Matus
a690d5bed9
add test for wstring
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:08:55 +00:00
Marcelo Matus
70e2cbd5a6
move simple template test outside
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:41:41 +00:00
Marcelo Matus
4220781986
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:38:12 +00:00
Marcelo Matus
158e4d03d7
added the now explicitly needed macro:
...
#define SWIG_STD_EXTEND_COMPARISON
note: you don't need this one for most of the cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:44:34 +00:00
Marcelo Matus
ffd76a5b4e
add ptr cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:49:22 +00:00
Marcelo Matus
e6d14ad72c
added more especial methods for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 05:12:23 +00:00
Marcelo Matus
74f9ade9f7
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 04:08:18 +00:00
Marcelo Matus
2ecbbbf107
moving the 'unnamed' macros outside swig.swg, for better mantainance
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 04:18:11 +00:00
Marcelo Matus
0a3d3c0d0d
added support for unnamed C++ enum members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 01:35:44 +00:00
Marcelo Matus
f0cb509b70
fix for old STL std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:13:26 +00:00
Marcelo Matus
6e6356622b
disable complex test for C compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:40:57 +00:00
Marcelo Matus
1907bc9a96
fix range problem for complex<float>, found by szabi@mplayerhq.hu
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:37:09 +00:00
Marcelo Matus
2f4bf186cc
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 06:01:39 +00:00
Marcelo Matus
374de2b261
added template test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:12:06 +00:00
Marcelo Matus
5a656bf645
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 23:38:59 +00:00
Marcelo Matus
e83c226741
add 'attribute' macros for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:08:36 +00:00
Henning Thielemann
483d8b4367
added basic Modula-3 support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:45:29 +00:00
Marcelo Matus
c8d7e4d971
new tests for string and directors+containers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 21:30:24 +00:00
Marcelo Matus
64973655da
fix old std_pair version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 10:45:19 +00:00
Marcelo Matus
9e22799f04
more test files for STL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:52:22 +00:00
Marcelo Matus
359d862a49
add vector test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:49:17 +00:00
Marcelo Matus
4267bda1a9
add test for the mangling extension #@ preproc.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:44:35 +00:00
Marcelo Matus
81ae8b5e68
fix template complex
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:43:35 +00:00
William S Fulton
8bef639f31
All tests now use the -namespace commandline option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-24 21:06:54 +00:00
William S Fulton
197b15b0ec
Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
cff68da57b
overloading when SWIG cannot disambiguate parameters tests added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:45:11 +00:00
Marcelo Matus
5291809136
add argcargv test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 10:02:33 +00:00
Marcelo Matus
f16583559c
now use the new argcargv.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 09:55:58 +00:00
Marcelo Matus
15923cd8b8
Added the ref/unref 'recursive' featues. See refcount.i for details
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 09:21:36 +00:00
Marcelo Matus
d29dbe752d
Keep the old non-resolved type str and add the fully
...
resolved one if is needed.
Add examples showing the problem with SWIG_TypeQuery
and template+typedef and the old type str, and how
it works now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 08:37:30 +00:00
William S Fulton
c523afc3ec
New test case testing some broken aspects of %feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-04 21:05:39 +00:00
Marcelo Matus
e4025170df
added another simple method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-02 21:11:28 +00:00
Marcelo Matus
cff86e376c
add complex test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:38:59 +00:00
Marcelo Matus
b85c9ace6b
Fix long long and other warnings.
...
Add the macros
%typemap_asfromcheck()
%typemap_asfrom()
that can be used to defined all the different typemaps
for types where the As/From/Check methods are provided.
All the basic type (int, char,...) typemaps are implemented
using them.
The std::string and std::complex<T> are reimplemented using
the new %typemap_asfrom/check macros too. This helps to complete
all the previously missing typemaps (consttab, varin, varout,..)
and also ilustrates how to define the As/From/Check methods
to use with the %typemap_asfrom/check macros.
As a byproduct, the C complex typemap was added, and the file
complex.i
can be used to load the complex support for either C or C++. The
original C++ std_complex.i is still there, and the corresponding C
ccomplex.i too, if they need to be included explicitly.
Also, the As/From methods are declared via %fragment, so, they
can be reused as needed, and only appear in the wrapped code if
they corresponding typemap is invoked, making the typemaps
and the entire code shorter and simpler.
Marcelo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:30:13 +00:00
Marcelo Matus
9b4df57aa4
Simple patch to allow fragments to include other fragments:
...
%fragment("Hello","header") "..."
%fragment("Hi","header",fragment="Hello") "..."
the latter fragment will include the first one if is invoked.
more than one fragment can be included at the time, just
keep adding fragment="f1",fragment="f2", etc.
this is used to emulate typemaps reuse, where all the
reusable typemap code is put in a fragment static method,
and then it can be included from another fragment typemap
as needed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-27 23:39:35 +00:00