The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6fcc22a1f8
commit
516036631c
1508 changed files with 125983 additions and 44037 deletions
|
|
@ -1,27 +0,0 @@
|
|||
//
|
||||
// SWIG exception handling for Ruby
|
||||
//
|
||||
// $Header$
|
||||
//
|
||||
// Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
||||
// Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
||||
//
|
||||
// Masaki Fukushima
|
||||
//
|
||||
|
||||
%{
|
||||
#define SWIG_MemoryError rb_eFatal
|
||||
#define SWIG_IOError rb_eIOError
|
||||
#define SWIG_RuntimeError rb_eRuntimeError
|
||||
#define SWIG_IndexError rb_eIndexError
|
||||
#define SWIG_TypeError rb_eTypeError
|
||||
#define SWIG_DivisionByZero rb_eZeroDivError
|
||||
#define SWIG_OverflowError rb_eRuntimeException
|
||||
#define SWIG_SyntaxError rb_eSyntaxError
|
||||
#define SWIG_ValueError rb_eArgError
|
||||
#define SWIG_SystemError rb_eSystemError
|
||||
#define SWIG_UnknownError rb_eRuntimeError
|
||||
|
||||
#define SWIG_exception(a,b) rb_raise(a,b)
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue