Commit graph

2,285 commits

Author SHA1 Message Date
Dave Beazley
d6a2573ef7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 18:53:19 +00:00
Marcelo Matus
66e3262dda 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@5415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 08:49:55 +00:00
William S Fulton
b0d7c1194d SWIG-1.1 documentation directive removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 22:47:39 +00:00
William S Fulton
5b85519737 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@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
William S Fulton
dfd57099df Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
eca80d3999 Doc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:18:30 +00:00
William S Fulton
01926d2f67 Added missing SWIGIMPORT to runtime library functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
William S Fulton
66cf8d174b Added missing entry about runtime libraries being built on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:13:18 +00:00
William S Fulton
1cb1df539f Clearer instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:11:42 +00:00
William S Fulton
ca149fb77c 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@5407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:09:39 +00:00
William S Fulton
4a7ea494b9 New -noruntime commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:08:16 +00:00
Dave Beazley
56d598c8fe *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:48:36 +00:00
Dave Beazley
06cc78d2ec *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:29:33 +00:00
Dave Beazley
c2af7898c0 [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:27:17 +00:00
Dave Beazley
b9c5fb3120 Increased evil quotient. To test bug [ 756552 ] missing default argument class scope with "|"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 19:25:21 +00:00
Dave Beazley
6b705938de [ 840878 ] support for %inline { ... } (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:48:11 +00:00
Dave Beazley
796204c335 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:47:52 +00:00
Dave Beazley
8bd6a0c846 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:16 +00:00
Dave Beazley
c3eab02d6d Fixed [ 836903 ] C++ inconsistency (with void arguments).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:26:03 +00:00
Dave Beazley
d17b4065ce new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 18:20:21 +00:00
Dave Beazley
475f966f00 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:08:42 +00:00
Dave Beazley
2acc6de7fc [ 841074 ] better croaking (PATCH)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:06:56 +00:00
Matthias Köppe
482ee2360f 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@5394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:03:59 +00:00
Dave Beazley
b6c140e981 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:49:03 +00:00
Dave Beazley
9ed46ad4ca Fixed [ 791835 ] Default argument with cast: txt = (char *)"txt" syntax Error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:48:51 +00:00
Dave Beazley
c97cf300bc Added string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:45:12 +00:00
Dave Beazley
c17e494888 Fixed [ 848824 ] Bug in dispatch function when having overloaded functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:12:20 +00:00
Art Yerkes
c62459060e Missing NIL in Printv.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 07:08:38 +00:00
Dave Beazley
1cc00d548c Fixed Tcl examples configuration problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 04:33:47 +00:00
Dave Beazley
aaeab8a407 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 03:53:19 +00:00
Dave Beazley
00be2c2492 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@5386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 03:51:35 +00:00
Art Yerkes
13da1e3d2b 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@5385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 02:12:24 +00:00
Matthias Köppe
336e8a351e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-24 16:55:32 +00:00
Matthias Köppe
ba4943e63d (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@5383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-24 16:55:22 +00:00
Matthias Köppe
37262d6615 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 21:59:41 +00:00
Matthias Köppe
17c0ffadf4 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@5381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 21:50:27 +00:00
Matthias Köppe
0e9edb6f1f Use swig -runtime also to generate the Guile libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:31:32 +00:00
Matthias Köppe
ec54de8592 Add a SWIG_contract_assert macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:29:07 +00:00
Matthias Köppe
85b94c7502 Add runtest for contract.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:22:30 +00:00
Matthias Köppe
9097e28fa4 New library of helper macros for the runtime tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:15:09 +00:00
Matthias Köppe
873bfced75 In -gh mode, don't forget to call SWIG_Guile_Init.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 18:47:20 +00:00
Art Yerkes
d1333cd0b4 Added contract example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:55:53 +00:00
Art Yerkes
ba3cca85d2 Removed needless normalization step.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:33:41 +00:00
Art Yerkes
0de2a4a8f8 Added `` for C enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:25:26 +00:00
Matthias Köppe
7aaa84c6f2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:14:54 +00:00
Art Yerkes
c12636c0f1 Added string.h include.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:59:03 +00:00
Art Yerkes
e7460b2ddb 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@5370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:58:12 +00:00
Matthias Köppe
e12ae54a06 [MzScheme] Update dynext discovery code for MzScheme 205.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:45:50 +00:00
Art Yerkes
4c58bc268e Added SWIG_contract_assert.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 08:20:12 +00:00
Dave Beazley
fef1815ba6 Fixed run test to work with change in static member wrapping.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 00:29:10 +00:00