Skip to content

Commit 325ee60

Browse files
committed
trivial fill-in-the-gap for const double
emacs whitespace adjustment for changelog
1 parent e1ad634 commit 325ee60

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

ChangeLog

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
2013-09-13 Romain Francois <romain@r-enthusiasts.com>
2-
3-
* src/api.cpp : added "long long" to the capabilities function.
4-
* include/Rcpp/platform/compiler.h : demangling is definitely available
5-
on all mac versions using gcc. No point is testing for OSX version.
6-
* include/Rcpp/InputParameter.h : extra layer of abstraction to allow for
7-
custom handling of references etc ... used in RcppArmadillo
1+
2013-09-13 Romain Francois <romain@r-enthusiasts.com>
2+
3+
* src/api.cpp : added "long long" to the capabilities function.
4+
* include/Rcpp/platform/compiler.h : demangling is definitely
5+
available on all mac versions using gcc. No point is testing for OSX
6+
version.
7+
* include/Rcpp/InputParameter.h : extra layer of abstraction to allow
8+
for custom handling of references etc ... used in RcppArmadillo
89
* src/attributes.cpp : using InputParameter
910
* DESCRIPTION: bump to 0.10.4.4
10-
11-
2013-09-12 Romain Francois <romain@r-enthusiasts.com>
1211

13-
* include/Rcpp/platform/compiler.h : patch submitted by Murray for better
14-
support of long long type.
15-
* include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map
16-
and tr1/unordered_set. Previous test was for gcc 4.4.0 for some reason
12+
2013-09-12 Romain Francois <romain@r-enthusiasts.com>
13+
14+
* include/Rcpp/platform/compiler.h : patch submitted by Murray for
15+
better support of long long type.
16+
* include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map
17+
and tr1/unordered_set. Previous test was for gcc 4.4.0 for some
18+
reason
1719

1820
2013-08-31 Dirk Eddelbuettel <edd@debian.org>
1921

2022
* inst/doc/*: Moved all vignettes to vignettes/*
2123
* vignettes/*: Minor updates to some vignettes
2224

23-
2013-08-22 Romain Francois <romain@r-enthusiasts.com>
25+
2013-08-22 Romain Francois <romain@r-enthusiasts.com>
2426

2527
* include/Rcpp/traits/is_primitive.h : new trait to identify if a
2628
type is primitive, this is a shortcut of using r_type_traits and
@@ -42,7 +44,7 @@
4244
where T is not a primitive
4345
* include/Rcpp/api/meat/export.h : implementation in meat because it needs as
4446

45-
2013-08-01 Romain Francois <romain@r-enthusiasts.com>
47+
2013-08-01 Romain Francois <romain@r-enthusiasts.com>
4648

4749
* unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
4850
* unitTests/runit.wstring.R: re-enable the wstring test suite.

inst/include/Rcpp/traits/r_sexptype_traits.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ template <typename T> struct r_sexptype_traits{ enum{ rtype = VECSXP }; } ;
3434
template<> struct r_sexptype_traits<int>{ enum{ rtype = INTSXP } ; } ;
3535
template<> struct r_sexptype_traits<const int>{ enum{ rtype = INTSXP } ; } ;
3636
template<> struct r_sexptype_traits<double>{ enum{ rtype = REALSXP } ; } ;
37+
template<> struct r_sexptype_traits<const double>{ enum{ rtype = REALSXP } ; } ;
3738
template<> struct r_sexptype_traits<bool>{ enum{ rtype = LGLSXP } ; } ;
3839
template<> struct r_sexptype_traits<std::string>{ enum{ rtype = STRSXP } ; } ;
3940
template<> struct r_sexptype_traits<Rcomplex>{ enum{ rtype = CPLXSXP } ; } ;

inst/include/Rcpp/traits/r_type_traits.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ template<> struct r_type_traits< std::pair<const std::string,float> >{ typedef r
136136
template<> struct r_type_traits<int>{ typedef r_type_primitive_tag r_category ; } ;
137137
template<> struct r_type_traits<const int>{ typedef r_type_primitive_tag r_category ; } ;
138138
template<> struct r_type_traits<double>{ typedef r_type_primitive_tag r_category ; } ;
139+
template<> struct r_type_traits<const double>{ typedef r_type_primitive_tag r_category ; } ;
139140
template<> struct r_type_traits<Rbyte>{ typedef r_type_primitive_tag r_category ; } ;
140141
template<> struct r_type_traits<Rcomplex>{ typedef r_type_primitive_tag r_category ; } ;
141142
template<> struct r_type_traits<bool>{ typedef r_type_primitive_tag r_category ; } ;

0 commit comments

Comments
 (0)