Commit graph

2,284 commits

Author SHA1 Message Date
Marcelo Matus
0bfce10a2b Added test for simple template +typedef combinations that produce an inf. recursion, and then seg fault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 08:49:55 +00:00
William S Fulton
5a286c6c10 SWIG-1.1 documentation directive removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 22:47:39 +00:00
William S Fulton
f3cc31dec9 Cygwin gcc now uses __declspec(dllexport) for creating exported functions in the runtime library DLLs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
William S Fulton
3dfbcbb02c Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
47f612c99a Doc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:18:30 +00:00
William S Fulton
60c74da9c6 Added missing SWIGIMPORT to runtime library functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
William S Fulton
814c7ae11b Added missing entry about runtime libraries being built on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:13:18 +00:00
William S Fulton
2bd6b24910 Clearer instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:11:42 +00:00
William S Fulton
08d345055c Mods for the new way of building the runtime libraries using the swig executable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:09:39 +00:00
William S Fulton
24c09718b8 New -noruntime commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:08:16 +00:00
Dave Beazley
5321307d02 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:48:36 +00:00
Dave Beazley
1c4cda1129 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:29:33 +00:00
Dave Beazley
9a0a04303d [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:27:17 +00:00
Dave Beazley
356471eac3 Increased evil quotient. To test bug [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:25:21 +00:00
Dave Beazley
075af8535a [ 840878 ] support for %inline { ... } (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:48:11 +00:00
Dave Beazley
7d69b06c5c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:47:52 +00:00
Dave Beazley
001d1d0184 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:16 +00:00
Dave Beazley
e7c45edd39 Fixed [ 836903 ] C++ inconsistency (with void arguments).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:03 +00:00
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