File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
inst/include/Rcpp/api/meat Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ 2013-10-16 Romain Francois <romain@r-enthusiasts.com>
2+
3+ * include/Rcpp/api/meat/is.h : added missing implementation for
4+ is<Language> and is<DottedPair>
5+
162013-10-14 Romain Francois <romain@r-enthusiasts.com>
27
38 * inst/include/Rcpp/protection/protection.h: added Shield/Shelter/Armor
Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ namespace internal{
7474 template <> inline bool is__simple<LogicalVector>( SEXP x ){
7575 return TYPEOF (x) == LGLSXP ;
7676 }
77+ template <> inline bool is__simple<Language>( SEXP x ){
78+ return TYPEOF (x) == LANGSXP ;
79+ }
80+ template <> inline bool is__simple<DottedPair>( SEXP x ){
81+ return TYPEOF (x) == LANGSXP || TYPEOF (x) == LISTSXP ;
82+ }
7783 template <> inline bool is__simple<List>( SEXP x ){
7884 return TYPEOF (x) == VECSXP ;
7985 }
You can’t perform that action at this time.
0 commit comments