Commit graph

827 commits

Author SHA1 Message Date
Marcelo Matus
dceb7f2a10 more derived +nested cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:23:17 +00:00
Marcelo Matus
bb900b3e10 more using+namespaces cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:22:50 +00:00
Marcelo Matus
5a0b7df38f test for ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:06:50 +00:00
Marcelo Matus
5023285fb8 Fix directors + protected pure virtual members + protected
constructor.

Now it doesn't crash, you don't need to use dirprot, and no, it is not
emitting all the protected members, unless dirprot is used.

Swig only emits the protected members or constructors needed to prevent
the compilation for crashing. The rest of the protected members
are emitted when dirprot is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
William S Fulton
dba6605992 director enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
702372202f namespace added and a %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:16:33 +00:00
Marcelo Matus
718b31a8fd fix another warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:26:49 +00:00
Marcelo Matus
114c703acd fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Marcelo Matus
a6db836faf add silly abstract case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:23:23 +00:00
John Lenz
0c57969c61 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
8857b4db9a fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:29:49 +00:00
Marcelo Matus
c89b776c54 fix example, bad template parameter name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:48:47 +00:00
Marcelo Matus
d27df888dc CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
Marcelo Matus
b9832ab0f0 fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
1bcc96f03e disable broken test under the old SwigValueWrapper mech
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:45:27 +00:00
William S Fulton
eafd417f0d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
dbb0c18d3e runtime tests for templated functions in a namespace added (overloading and default arg tests)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:07:53 +00:00
William S Fulton
2c5f8a09d2 runtime tests for templated functions with default args in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:55 +00:00
William S Fulton
1800d7914f default args in C code test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:10 +00:00
William S Fulton
fa423253a9 beefed up the kwargs tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:05:34 +00:00
William S Fulton
2d1e6b77bf default args in templated function in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:04:01 +00:00
William S Fulton
a4338dad2d templated functions in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:03:02 +00:00
William S Fulton
0f96a1ff12 default arguments in C code test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:01:47 +00:00
Marcelo Matus
ad8093acbe fixes for SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:39:36 +00:00
Marcelo Matus
da7b869cbf missing test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 21:17:48 +00:00
John Lenz
e639abae0f added new chicken runme script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 18:35:08 +00:00
Marcelo Matus
c388088863 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
7dfcb56369 fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
50b87f398b more examples, and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:08:55 +00:00
John Lenz
d33f398c63 Update Examples to not build runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:56:35 +00:00
William S Fulton
08100cf196 jdk 5.0 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:23:28 +00:00
William S Fulton
136025b035 missing function body added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:22:58 +00:00
Art Yerkes
30cdeb143a Runtime test for multimodule import.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:39:52 +00:00
Art Yerkes
e9160c8597 Updated documentation.
Provide a swig_val function which generates a shareable value from a module
specific one in a painless way.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
db57b0d6d8 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
William S Fulton
63f7af0366 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:09:50 +00:00
William S Fulton
6cdc20d8e6 fixes for changes in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:04:28 +00:00
William S Fulton
0835a9ac15 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
2d1dbf168d tests for default arguments in templated functions added
Currently broken for Python only
There might still be some 'translation errors' from converting the runtime test from the Java test


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:01:14 +00:00
William S Fulton
362473b722 ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:21 +00:00
John Lenz
2836e9599d Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
14c3a84d40 added runtime test for templated function overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:54:27 +00:00
William S Fulton
c332db66ff tests for overloading templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:51:46 +00:00
William S Fulton
f4f077c5fd default args added to runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:49:46 +00:00
William S Fulton
aa13f87bfa default args added to test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:48:10 +00:00
William S Fulton
b0cb1889b6 ruby warnings suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:44:26 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
1ea4adbcd4 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
ca9e6834df fixes for latest stl changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 07:58:03 +00:00