Sign in
android
/
platform
/
external
/
swig
/
f4208a0a418715ce5a72b564ef5bc994d42f820b
/
.
/
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
;}
))
}