Skip to content

Commit

Permalink
Roll micro version and date, update NEWS and ChangeLog
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Aug 4, 2024
1 parent 6446e7b commit f3e92a5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: RcppAnnoy
Type: Package
Title: 'Rcpp' Bindings for 'Annoy', a Library for Approximate Nearest Neighbors
Version: 0.0.22
Date: 2024-01-23
Version: 0.0.22.1
Date: 2024-08-04
Author: Dirk Eddelbuettel
Maintainer: Dirk Eddelbuettel <[email protected]>
Description: 'Annoy' is a small C++ library for Approximate Nearest Neighbors
Expand All @@ -20,4 +20,4 @@ Suggests: tinytest
URL: https://github.com/eddelbuettel/rcppannoy, https://dirk.eddelbuettel.com/code/rcpp.annoy.html
BugReports: https://github.com/eddelbuettel/rcppannoy/issues
NeedsCompilation: yes
RoxygenNote: 7.1.1
RoxygenNote: 7.3.2
8 changes: 7 additions & 1 deletion inst/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
\newcommand{\ghpr}{\href{https://github.com/eddelbuettel/rcppannoy/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/eddelbuettel/rcppannoy/issues/#1}{##1}}

\section{Changes in version 0.0.23 (2024-xx-yy)}{
\itemize{
\item Add dot product distance metrics (Benjamin James in \ghpr{78})
}
}

\section{Changes in version 0.0.22 (2024-01-23)}{
\itemize{
\item Replace empty examples macro to satisfy CRAN request.
Expand All @@ -13,7 +19,7 @@
\itemize{
\item The build setup switched from C++11 to C++17 which offers threading
support (which remains off by default to ensure consistent results)
\item Upstream code was update to Annoy 1.17.3, the switch to an explicit
\item Upstream code was updated to Annoy 1.17.3, the switch to an explicit
C++ namespace has been accomodated (Dirk in \ghpr{75})
}
}
Expand Down
2 changes: 1 addition & 1 deletion inst/include/RcppAnnoy.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#define RCPPANNOY_VERSION_MAJOR 0
#define RCPPANNOY_VERSION_MINOR 0
#define RCPPANNOY_VERSION_PATCH 22
#define RCPPANNOY_VERSION_MICRO 0
#define RCPPANNOY_VERSION_MICRO 1

#define RcppAnnoyVersion(maj, min, rev, dev) (((maj)*1000000) + ((min)*10000) + ((rev)*100) + (dev))
#define RCPPANNOY_VERSION RcppAnnoyVersion(RCPPANNOY_VERSION_MAJOR,RCPPANNOY_VERSION_MINOR,RCPPANNOY_VERSION_PATCH,RCPP_ANNOY_VERSION_MICRO)
Expand Down
5 changes: 5 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// getArchictectureStatus
std::string getArchictectureStatus();
RcppExport SEXP _RcppAnnoy_getArchictectureStatus() {
Expand Down

0 comments on commit f3e92a5

Please sign in to comment.