Sign in
android
/
platform
/
external
/
swig
/
343a64df887c437b2cec95e1ff13f8057733292b
/
.
/
Lib
/
r
/
exception.i
blob: 39cb09594cfd25f902b8f3a7983ff2da438ebf56 [
file
] [
log
] [
blame
]
%
include
<
typemaps
/
exception
.
swg
>
%
insert
(
"runtime"
)
{
%
define_as
(
SWIG_exception
(
code
,
msg
),
%
block
(
switch
(
code
)
{
case
SWIG_IndexError
:
return
Rf_ScalarLogical
(
NA_LOGICAL
);
default
:
%
error
(
code
,
msg
);
SWIG_fail
;}
))
}