File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
inst/include/Rcpp/api/meat Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,18 @@ namespace internal{
3030 SEXP dim = Rf_getAttrib ( x, R_DimSymbol) ;
3131 return dim != R_NilValue && Rf_length (dim) == 2 ;
3232 }
33-
3433 template <> inline bool is__simple<int >( SEXP x ){
3534 return is_atomic (x) && TYPEOF (x) == INTSXP ;
3635 }
37-
3836 template <> inline bool is__simple<double >( SEXP x ){
3937 return is_atomic (x) && TYPEOF (x) == REALSXP ;
4038 }
41-
4239 template <> inline bool is__simple<bool >( SEXP x ){
4340 return is_atomic (x) && TYPEOF (x) == LGLSXP ;
4441 }
45-
4642 template <> inline bool is__simple<std::string>( SEXP x ){
4743 return is_atomic (x) && TYPEOF (x) == STRSXP ;
4844 }
49-
5045 template <> inline bool is__simple<String>( SEXP x ){
5146 return is_atomic (x) && TYPEOF (x) == STRSXP ;
5247 }
@@ -78,7 +73,7 @@ namespace internal{
7873 return TYPEOF (x) == LANGSXP ;
7974 }
8075 template <> inline bool is__simple<DottedPair>( SEXP x ){
81- return TYPEOF (x) == LANGSXP || TYPEOF (x) == LISTSXP ;
76+ return ( TYPEOF (x) == LANGSXP) || ( TYPEOF (x) == LISTSXP) ;
8277 }
8378 template <> inline bool is__simple<List>( SEXP x ){
8479 return TYPEOF (x) == VECSXP ;
You can’t perform that action at this time.
0 commit comments