git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
27 lines
761 B
OpenEdge ABL
27 lines
761 B
OpenEdge ABL
//
|
|
// 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)
|
|
|
|
%}
|