Commit graph

818 commits

Author SHA1 Message Date
John Lenz
b83fe6bd77 - 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@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
cb3ef63778 fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:29:49 +00:00
Marcelo Matus
52be4e8eea fix example, bad template parameter name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:48:47 +00:00
Marcelo Matus
cafb3a1d73 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
Marcelo Matus
ab33bb5a4d fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
5e507b8a26 disable broken test under the old SwigValueWrapper mech
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:45:27 +00:00
William S Fulton
77b107ae19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
8e2d0558e3 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@6456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:07:53 +00:00
William S Fulton
e4b4527658 runtime tests for templated functions with default args in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:55 +00:00
William S Fulton
90f3f92c26 default args in C code test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:06:10 +00:00
William S Fulton
04e7f11296 beefed up the kwargs tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:05:34 +00:00
William S Fulton
f635981d2f default args in templated function in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:04:01 +00:00
William S Fulton
e5c054f749 templated functions in a namespace tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:03:02 +00:00
William S Fulton
adc692e531 default arguments in C code test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:01:47 +00:00
Marcelo Matus
faa9419662 fixes for SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:39:36 +00:00
Marcelo Matus
5f3d28c49e missing test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 21:17:48 +00:00
John Lenz
3b9273f9a9 added new chicken runme script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 18:35:08 +00:00
Marcelo Matus
a3a1db9f10 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
7010b3004e fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
ce25f45c99 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
39ae60f7d8 more examples, and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:08:55 +00:00
John Lenz
30074ee762 Update Examples to not build runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:56:35 +00:00
William S Fulton
127692059c jdk 5.0 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:23:28 +00:00
William S Fulton
1315f9dec7 missing function body added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:22:58 +00:00
Art Yerkes
b451d4039a Runtime test for multimodule import.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:39:52 +00:00
Art Yerkes
01f438f143 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@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
a8add424e4 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
William S Fulton
48cbcb26e0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:09:50 +00:00
William S Fulton
53446db5bd fixes for changes in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:04:28 +00:00
William S Fulton
647ec0d634 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
f816035a2b 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@6402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:01:14 +00:00
William S Fulton
d0ff6f36aa ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:21 +00:00
John Lenz
4fc9128a6c Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
e65ccbb014 added runtime test for templated function overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:54:27 +00:00
William S Fulton
c6732c704f tests for overloading templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:51:46 +00:00
William S Fulton
c187e14eb5 default args added to runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:49:46 +00:00
William S Fulton
ca117cddfc default args added to test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:48:10 +00:00
William S Fulton
7725bf6135 ruby warnings suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:44:26 +00:00
John Lenz
4645346381 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@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
81de588719 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
78187b8fad fixes for latest stl changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 07:58:03 +00:00
Marcelo Matus
ae673f007b more valuewrapper cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 20:32:20 +00:00
Marcelo Matus
0bff053cd3 add default arg + enum case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 16:33:36 +00:00
Marcelo Matus
fab4e772f9 add more cases from bug reports
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:16:53 +00:00
Marcelo Matus
4a03c4edd5 add tests for director+enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:15:38 +00:00
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