Commit graph

34 commits

Author SHA1 Message Date
William S Fulton
49639577e0 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
001d27ace6 contract support - patch from Hans Oesterholt-Dijkema
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-16 21:22:39 +00:00
William S Fulton
6f21f0d74a added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
Matthias Köppe
3da4dfe293 Fix last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 19:55:12 +00:00
Matthias Köppe
334807fdce Patch from Hans Oesterholt for supporting MzScheme 30x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 11:43:22 +00:00
John Lenz
830baef907 Switch mzscheme to use SWIG_TypeCheckStruct instead of SWIG_TypeCheck.
TypeCheckStruct is slightly faster


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-01 19:27:20 +00:00
John Lenz
f6964f285f - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
0baa17ec05 allow to include the swig runtime code into external user libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
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
William S Fulton
31d1012b0a removed redundant valuewrapper feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
4855fb73ae avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +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
John Lenz
9dead7a11d New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Matthias Köppe
6e6317c9cf <Dmitriy.Zavin@infineon.com> writes:
> I have hacked support to create native mzscheme structures from C
> structures, which includes native structure support.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 14:21:33 +00:00
Matthias Köppe
783d69e252 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Matthias Köppe
64c48367b9 Use FUNC_NAME rather than a bogus typemap variable for signalling
errors.  Call scheme_wrong_type with a zero-based argument number.
Reported by Ondrej Pacovsky, SF #902621.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-23 12:56:58 +00:00
Dave Beazley
97e67f76ee Added pack/unpack functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 18:07:36 +00:00
Dave Beazley
9eb6a0d8ea Fixed missing variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:14:13 +00:00
Dave Beazley
7429f62153 Added missing exception.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:06:52 +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
Matthias Köppe
3e216a67dc Remove symbol clashes between runtime libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:36:52 +00:00
Luigi Ballabio
10138e60b9 Typemap for size_t applied to std::size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Luigi Ballabio
8c35d20048 std::pair added (but not very much tested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
Matthias Köppe
241eeec6ba Merged MzScheme changes contributed by John Lenz.
Minor build changes to fix MzScheme/C++ test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:58:02 +00:00
Matthias Köppe
919fa9ab45 Merged MzScheme changes contributed by John Lenz.
Minor build changes to fix MzScheme/C++ test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:54:01 +00:00
Luigi Ballabio
418ed3416b Added correct (I hope) typechecking for native scripting objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +00:00
Luigi Ballabio
471f1d43d8 std::map ready for prime time (hopefully)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
Luigi Ballabio
34521b3eb6 Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Luigi Ballabio
cd8f6737cb Missing typecheck for bool passed as value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
be4e37e548 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
3b7c3f299c Applied Oleg's MzScheme patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
Thien-Thi Nguyen
985f39eed1 Rewrite. (Thanks to Oleg Tolmatcev.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-17 16:05:49 +00:00
Thien-Thi Nguyen
8d704fbc0f Initial revision
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:26:59 +00:00