Commit graph

773 commits

Author SHA1 Message Date
Marcelo Matus
cf81f4a4e9 add tests and fix the value wrapper for opaque types, including the template cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
Marcelo Matus
8c9152c376 fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
d35c5a7a32 added the . See lextype.i example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:14:31 +00:00
Marcelo Matus
e88bf78833 move broken example to derived_byvalue.i since it could take long to fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:02:50 +00:00
Marcelo Matus
7797e94739 add error when passing a struct/class by value + derivation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 21:54:18 +00:00
Marcelo Matus
e0dbc02e10 more ugly tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 21:53:29 +00:00
William S Fulton
d317db5aa7 Runtime test for templates and default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:05:50 +00:00
William S Fulton
b7d7755c9e Nasty test with default args in templated methods. Also the 'using' statement for template methods that use default args.
Currently broken in Python only.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:04:36 +00:00
William S Fulton
e2603c47f0 using for method with default args test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:57:13 +00:00
William S Fulton
18ecf1d54c extend_default wasn't in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:55:26 +00:00
Marcelo Matus
10de1d3813 added kwargs.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 18:56:17 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
William S Fulton
fd518ef5e6 test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:12:37 +00:00
William S Fulton
de16695fee test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:06:29 +00:00
Marcelo Matus
a74f2656c3 add destructor reprotected/desprotected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 19:07:40 +00:00
Marcelo Matus
378960a99a more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:32:03 +00:00
Marcelo Matus
a69026dc60 add basic overloading test + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:07:30 +00:00
Marcelo Matus
41851255fc check again large typequery
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:47:46 +00:00
Marcelo Matus
440d536402 support C/C++ cases, using __cplusplus
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:33:28 +00:00
Marcelo Matus
c29b0dfc7d add more simple cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:54:33 +00:00
Marcelo Matus
c75fc74e1c add __cplusplus case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:37:55 +00:00
Marcelo Matus
b3cbaae1cc add Bill's case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:34:28 +00:00
Marcelo Matus
6f5b5d3b7c strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
a105903188 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
5fc322f0b6 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
e9c0244097 added overriding test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:52:01 +00:00
William S Fulton
9a8f7b5c44 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
f0de62548a redundant comment removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:32:27 +00:00
William S Fulton
f55ef1fa5f %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
Marcelo Matus
29a01808ac fix test to work with old and new repr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:07:42 +00:00
Marcelo Matus
eb9cb5f591 fix empty throw() + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:06:56 +00:00
Marcelo Matus
1c3c433c1c better documented autodoc levels
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 03:33:56 +00:00
Marcelo Matus
2792ac8752 several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
ef52cd2d79 new default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:58 +00:00
William S Fulton
dcb1861516 default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:11 +00:00
William S Fulton
9f35a1ddb4 default_args added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:50:50 +00:00
William S Fulton
0470907ec1 default argument tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:49:43 +00:00
William S Fulton
73215c5558 default arguments added to overloaded methods
Fix so that the test uses the correct module!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:05:59 +00:00
William S Fulton
88c0b425e2 minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:04:22 +00:00
William S Fulton
0e0bc56563 default typemap test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:03:00 +00:00
William S Fulton
633b882ef7 fix so that swig wraps what is actually used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:00:51 +00:00
Marcelo Matus
a44038b71f added another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:32:00 +00:00
Marcelo Matus
7757e31139 fix %extend+overload error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:18:57 +00:00
Marcelo Matus
391869c600 add autodoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:59:18 +00:00
Marcelo Matus
5887fe6363 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:57:45 +00:00
Marcelo Matus
ed7f9ea925 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:51:11 +00:00
Marcelo Matus
415420c4c4 added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
6c80ef2f7b add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:31:30 +00:00
Marcelo Matus
a59ceff827 fix bitfield with expr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:11:40 +00:00
Marcelo Matus
9ae33f3c4d add callback and inout tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:33:38 +00:00