Marcelo Matus
|
dbdcf4462c
|
fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-02-01 08:37:53 +00:00 |
|
Charlie Savage
|
c2399a7aa2
|
Updated Ruby Exception handling. Classes that are specified in throws clauses, or are marked as %exceptionclass, are now inherited from rb_eRuntimeError. This allows instances of these classes to be returned to Ruby as exceptions. Thus if a C++ method throws an instance of MyException, the calling Ruby method will get back a MyException object. To see an example, look at ruby/examples/exception_class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-10 19:19:19 +00:00 |
|
Charlie Savage
|
e0b9b9903f
|
Wrapped customer error classes in function so they work in C and C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-10 03:38:08 +00:00 |
|
Charlie Savage
|
1256774cd5
|
Added SWIG_ObjectPreviouslyDeletedError for Ruby. This error happens when a Ruby object's underlying C++ object has been freed. This can happen if a Ruby/C++ object is put into a C++ container that then frees its objects when it goes out of scope, leaving a dangling reference in Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-10 00:52:37 +00:00 |
|
Charlie Savage
|
09df526ebf
|
Attemp #2 at defining rb_eNullReferenceError. This is done for C++, but for C
a more generic rb_eRuntimeError is thrown instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-09 22:17:06 +00:00 |
|
Charlie Savage
|
9b2b3912cf
|
Removed defining rb_eNullReferenceError since this doesn't work in C - it
causes a 'initializer element is not constant" error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-09 20:11:37 +00:00 |
|
Charlie Savage
|
5f53a1357a
|
Added Ruby support for SWIG_NullReferenceError.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2006-01-09 19:43:26 +00:00 |
|
Marcelo Matus
|
bd7b3fcb1d
|
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-20 09:47:56 +00:00 |
|
Marcelo Matus
|
8bcc0bf8eb
|
fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-19 14:26:13 +00:00 |
|
Marcelo Matus
|
1c7c9e44f7
|
massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-18 13:24:15 +00:00 |
|