Commit graph

2,246 commits

Author SHA1 Message Date
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
Dave Beazley
6c24eac1cc Minor fixes for Ruby, mzscheme, etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-22 22:38:25 +00:00
Art Yerkes
40c96d9436 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@5365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 22:48:04 +00:00
Marcelo Matus
3f9a029c43 Fixed previous patch for the case when no file is founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 20:47:58 +00:00
Matthias Köppe
2fad2ef97e Don't qualify member function names twice. (Thanks to John Lenz.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 09:18:10 +00:00
Marcelo Matus
1e9fff913f Fixed bad test name... uuups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 22:08:42 +00:00
Dave Beazley
d60fd9fc44 added runtime support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:49:16 +00:00
Dave Beazley
e55baa13e3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:41:39 +00:00
Marcelo Matus
016860e199 Fixed the include/import error reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:37:24 +00:00
Dave Beazley
644b2e7d16 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@5358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:25:19 +00:00
Dave Beazley
56baf632c8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:19:47 +00:00
Dave Beazley
8ff296c06d Changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:18:53 +00:00
Dave Beazley
0cbd392007 Changed -c to -noruntime.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:54 +00:00
Dave Beazley
101ebefd40 changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:12 +00:00
Marcelo Matus
8d1ccabff4 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
8f8e9107c1 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@5352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:37 +00:00
Dave Beazley
2cd851a489 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:03 +00:00
Dave Beazley
2e313b48b0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
Luigi Ballabio
09ec4edb93 Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
3df883b1e5 Update SWIG description from main web page
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:29:41 +00:00
William S Fulton
854a54e699 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:26:41 +00:00
William S Fulton
2266b721c1 'make srcrpm' rpmbuild fix - patch from Joe Cooper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:24:52 +00:00
William S Fulton
a7ae5a021e contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
7940ccaee8 contract assert macro fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
f32aca08f1 multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:55:23 +00:00
Dave Beazley
2e79282dab A bit more docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:45:48 +00:00
William S Fulton
da246698a3 Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
8d7f52dfc6 Contract assert macro modification to handle void and non-void return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:38:34 +00:00
William S Fulton
5cd23c3e50 Java C# multiple inheritance warning removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:35:48 +00:00
William S Fulton
329bd4f1c4 Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
Dave Beazley
ccb09ea355 Added Swig_contract_assert
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +00:00
William S Fulton
2cd181ba5f Common director support functions moved to new file directors.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
William S Fulton
3772663815 extern method declarations moved to header file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:15 +00:00
Dave Beazley
7b14be5fc0 OS X refinements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:02:37 +00:00
Matthias Köppe
73721fda7c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:56:32 +00:00
Matthias Köppe
b4ae6e5567 Change meaning of configure option --with-guile to the name of the
Guile executable.  The new option --with-guile-prefix can be used to
specify the tree where Guile is installed.  (However, usually it
suffices to use the single option --with-guile-config.)  When running
the run tests test-suite, make sure to use the version of Guile that
SWIG was configured for.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:55:45 +00:00
Matthias Köppe
dda57d7224 Improvements to object-ownership management in
"-scm" mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:52:49 +00:00
Matthias Köppe
7b581cb88a [Guile] Handle $input in "freearg" typemaps.
Never qualify GOOPS slot names with the class name.
Handle optional arguments properly in the GOOPS methods.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:51:52 +00:00
Logan Johnson
edf8fc96ce Added Ruby module runtime support for SWIG_contract_assert() macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Logan Johnson
0ad9f49652 Added a runtime test case for aggregate.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:22:33 +00:00