John Lenz
0fb8c59673
Three new broken test cases created to test various patches in the patch list.
...
Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:06:01 +00:00
William S Fulton
6e570eda85
Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
0b945f2dd3
added profile test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Marcelo Matus
830e72dba7
fixes for new char[] behaviour
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:37:13 +00:00
Marcelo Matus
7d85c1f1b0
more tests for exception
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:24:53 +00:00
Marcelo Matus
a6d2269a26
add template_opaque
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +00:00
Marcelo Matus
9c6a029e75
fix anon enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
da6e5673e8
add template + opaque type test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00
Marcelo Matus
92e43dda16
fixes on test related to member vars
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:36:50 +00:00
Marcelo Matus
885c23dd72
added global char[] arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:34:41 +00:00
Luigi Ballabio
d062b8cce8
Python typemap for FILE* (in behalf of Marcelo)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Matthias Köppe
27684d78ba
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:52 +00:00
Marcelo Matus
5993e83ee4
another case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:51:49 +00:00
Marcelo Matus
f152262d7a
better test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:05:37 +00:00
Marcelo Matus
be31340148
add None ptr case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:57:16 +00:00
Marcelo Matus
1f3d73a0b0
add inplace test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:56:14 +00:00
Marcelo Matus
f62bf7a2e7
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 03:32:41 +00:00
Marcelo Matus
a0e5e53f64
accept None in std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 01:20:41 +00:00
Marcelo Matus
f9d781feee
add test for std::vector<A*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 00:53:48 +00:00
Marcelo Matus
355795b4fb
added primitive_types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:55 +00:00
Marcelo Matus
f7e9893d61
testing wchar_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:27 +00:00
Marcelo Matus
58a46d290f
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:26:20 +00:00
Marcelo Matus
39e2071d68
add test for wstring
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:08:55 +00:00
Marcelo Matus
89ec5af2d6
move simple template test outside
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:41:41 +00:00
Marcelo Matus
b38eae9915
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:38:12 +00:00
Marcelo Matus
811a5065c3
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/SWIG@5823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:44:34 +00:00
Marcelo Matus
1c1f6acf4c
add ptr cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:49:22 +00:00
Marcelo Matus
efed557610
added more especial methods for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 05:12:23 +00:00
Marcelo Matus
9bf8d63e04
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 04:08:18 +00:00
Marcelo Matus
efdc4c83dd
moving the 'unnamed' macros outside swig.swg, for better mantainance
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 04:18:11 +00:00
Marcelo Matus
e0670df706
fix for old STL std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-30 08:13:26 +00:00
Marcelo Matus
e10db4b653
disable complex test for C compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:40:57 +00:00
Marcelo Matus
252ce1d0c9
fix range problem for complex<float>, found by szabi@mplayerhq.hu
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 21:37:09 +00:00
Marcelo Matus
2c5dc2113b
more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-29 06:01:39 +00:00
Marcelo Matus
800ebd6a78
added template test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-23 01:12:06 +00:00
Marcelo Matus
7e25ede10d
more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-21 23:38:59 +00:00
Marcelo Matus
95fa3be654
add 'attribute' macros for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-20 00:08:36 +00:00
Marcelo Matus
57c88f56df
new tests for string and directors+containers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 21:30:24 +00:00
Marcelo Matus
2537ee1c34
fix old std_pair version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 10:45:19 +00:00
Marcelo Matus
49f0823a25
more test files for STL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:52:22 +00:00
Marcelo Matus
e205e0012d
add vector test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:49:17 +00:00
Marcelo Matus
503c615c67
add test for the mangling extension #@ preproc.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 09:44:35 +00:00
William S Fulton
d3d9210bd0
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/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
f4a2470325
overloading when SWIG cannot disambiguate parameters tests added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:45:11 +00:00
Marcelo Matus
2c15a0a2b1
add argcargv test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 10:02:33 +00:00
Marcelo Matus
4e3d516cee
now use the new argcargv.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 09:55:58 +00:00
Marcelo Matus
2a573e9a08
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/SWIG@5704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 08:37:30 +00:00
Marcelo Matus
f1ed62c2a2
add complex test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:38:59 +00:00
Marcelo Matus
3f1f31d1e8
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/SWIG@5691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:30:13 +00:00
Marcelo Matus
c429cdb9fc
add support for char* to accepts char* :), before
...
they only accept PyStrings.
now the raw pointer from calloc.i, for example, works
fine.
some of the SWIG_PyObj_(As|From)XXX routines are getting
too large, so, they also will go into the runtime library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-26 11:55:22 +00:00