Skip to content

Commit 04e9c50

Browse files
committed
new config macro to also account for dev version, ie 'd' in a.b.c.d
1 parent 722513b commit 04e9c50

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

ChangeLog

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
2014-07-25 Romain Francois <romain@r-enthusiasts.com>
1+
2014-11-23 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/include/Rcpp/config.h: New macro RcppDevVersion to account for
4+
four-part development versions such as the current 0.11.3.2
5+
* DESCRIPTION: Version incremented to 0.11.3.2
6+
7+
2014-11-23 Romain Francois <romain@r-enthusiasts.com>
28

39
* inst/include/Rcpp/exceptions.h: Richer formatting for Rcpp::stop
410
* inst/include/Rcpp/utils/tinyformat.h: Backend for formattinh

inst/include/Rcpp/config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424

2525
#define Rcpp_Version(v,p,s) (((v) * 65536) + ((p) * 256) + (s))
2626

27+
// at this point 0.11.4 is the next but as of yet unreleased version
2728
#define RCPP_VERSION Rcpp_Version(0,11,4)
2829

30+
#define RcppDevVersion(maj, min, rev, dev) \
31+
(((maj)*1000000) + ((min)*10000) + ((rev)*100) + (dev))
32+
#define RCPP_DEV_VERSION RcppDevVersion(0,11,3,2)
33+
2934
#endif
3035

0 commit comments

Comments
 (0)