Commit graph

2,266 commits

Author SHA1 Message Date
Dave Beazley
5a74e5a4a2 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:20:21 +00:00
Dave Beazley
1a8980eec5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:08:42 +00:00
Dave Beazley
465eebfb32 [ 841074 ] better croaking (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:06:56 +00:00
Matthias Köppe
297b943f2e Rename the three smob types to "swig-pointer",
"collectable-swig-pointer", "destroyed-swig-pointer", so that the
automatically generated class metaobjects <swig-pointer> etc. do not
contain whitespace (which prints stranegly as a symbol) and do not
clash with the <swig> class metaobject of the GOOPS wrapper.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:03:59 +00:00
Dave Beazley
5572e70a6d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:49:03 +00:00
Dave Beazley
ed4fd6b6cd Fixed [ 791835 ] Default argument with cast: txt = (char *)"txt" syntax Error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:48:51 +00:00
Dave Beazley
ddfd4fd4ed Added string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:45:12 +00:00
Dave Beazley
293269b03c Fixed [ 848824 ] Bug in dispatch function when having overloaded functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:12:20 +00:00
Art Yerkes
573cc1cebf Missing NIL in Printv.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 07:08:38 +00:00
Dave Beazley
759eddd6d6 Fixed Tcl examples configuration problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 04:33:47 +00:00
Dave Beazley
a37aeff818 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 03:53:19 +00:00
Dave Beazley
9e2752c39d Fixed cross module linking of base-classes. Base classes are now located using SWIG_TypeQuery()
during module initialization.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 03:51:35 +00:00
Art Yerkes
788e4a8a3b Committed a patch to find ocaml in a non-standard directory
-- Patch by Blair Zajac


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 02:12:24 +00:00
Matthias Köppe
f2fa4cd869 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-24 16:55:32 +00:00
Matthias Köppe
128784c26a (SWIG_Guile_NewPointerObj): Return '() to represent null pointers.
This is for compatibility with the -gh version.
Also, GOOPS objects representing null pointers would behave very
badly, like segfaulting when one DESCRIBEs them.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-24 16:55:22 +00:00
Matthias Köppe
35b19a4e71 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 21:59:41 +00:00
Matthias Köppe
cf1cce4894 Add a generated script "preinst-swig", which can be used
to invoke SWIG before it has been installed.

Use it to build the runtime libs.  This enables out-of-source builds
again.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 21:50:27 +00:00
Matthias Köppe
1bee2e6aa5 Use swig -runtime also to generate the Guile libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:31:32 +00:00
Matthias Köppe
894d9cc4e9 Add a SWIG_contract_assert macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:29:07 +00:00
Matthias Köppe
a0c9c690e4 Add runtest for contract.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:22:30 +00:00
Matthias Köppe
fee1c96c6e New library of helper macros for the runtime tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:15:09 +00:00
Matthias Köppe
2d7af13dd6 In -gh mode, don't forget to call SWIG_Guile_Init.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 18:47:20 +00:00
Art Yerkes
2e96036cdb Added contract example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:55:53 +00:00
Art Yerkes
5969a1c272 Removed needless normalization step.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:33:41 +00:00
Art Yerkes
6f780fa41e Added `` for C enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:25:26 +00:00
Matthias Köppe
1de86bfeb9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:14:54 +00:00
Art Yerkes
1117c51509 Added string.h include.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:59:03 +00:00
Art Yerkes
cab8fc7fb9 Added sizeof operator for classes (and struct, unions), enabled with
"sizeof"="1" on the module node.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:58:12 +00:00
Matthias Köppe
173fdb31bd [MzScheme] Update dynext discovery code for MzScheme 205.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:45:50 +00:00
Art Yerkes
734e61b869 Added SWIG_contract_assert.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 08:20:12 +00:00
Dave Beazley
b2ae153a34 Fixed run test to work with change in static member wrapping.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 00:29:10 +00:00
Dave Beazley
26b1c100d0 Minor fixes for Ruby, mzscheme, etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-22 22:38:25 +00:00
Art Yerkes
fb759ac282 Added -I for tcl, per5 and python runtime lib targets.
This problem might have gone unnoticed, since it disappears after the user
has done 'make install'.  It appears that the files are searched for in the
system include dir, but not the local one.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 22:48:04 +00:00
Marcelo Matus
cc22c507c2 Fixed previous patch for the case when no file is founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 20:47:58 +00:00
Matthias Köppe
bb968bc558 Don't qualify member function names twice. (Thanks to John Lenz.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 09:18:10 +00:00
Marcelo Matus
4f969ddf31 Fixed bad test name... uuups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 22:08:42 +00:00
Dave Beazley
84ab47da4e added runtime support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:49:16 +00:00
Dave Beazley
b5acce8b5f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:41:39 +00:00
Marcelo Matus
183d0b755b Fixed the include/import error reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:37:24 +00:00
Dave Beazley
7d83b3627a Changes to way runtime libraries are built. swig -runtime -lang swigrun.i used to
generate a runtime module.  That module is then linked into a runtime library as
before.

Note:  This is probably only an interim solution for the 1.3.20 release.
The Runtime directory will be cleaned up later.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:25:19 +00:00
Dave Beazley
9e7c2d4282 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:19:47 +00:00
Dave Beazley
1f506188f3 Changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:18:53 +00:00
Dave Beazley
1626a047de Changed -c to -noruntime.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:54 +00:00
Dave Beazley
ceda8b7655 changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:12 +00:00
Marcelo Matus
04e800b085 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
12882895d3 New option: -runtime
Changed -c option to -noruntime.   -c still works, but a warning is issued.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:37 +00:00
Dave Beazley
247e8c777a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:03 +00:00
Dave Beazley
08f8a36e16 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
Luigi Ballabio
5e161fa7cd Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
2abb47a3fa Update SWIG description from main web page
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:29:41 +00:00