Skip to content

Commit

Permalink
Add support for CxxWrap 0.16 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley authored and grasph committed Jun 12, 2024
1 parent b8da541 commit 8c0bf3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/cxxwrap_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
//v0.10.0 (not used by any CxxWrap release),
//v0.11.0 (CxxWrap v0.14.0),
//v0.12.0 (CxxWrap v0.15.0)
//v0.13.0 (not breaking, see https://github.com/JuliaInterop/CxxWrap.jl/releases/tag/v0.16.0)
std::tuple<long, long> version_libcxxwrap_bounds(long cxxwrap_version){
if(cxxwrap_version < cxxwrap_v0_15){
return std::tuple<long, long>(11*1000, 12*1000);
} else{
return std::tuple<long, long>(12*1000, 13*1000);
return std::tuple<long, long>(12*1000, 14*1000);
}
}
4 changes: 2 additions & 2 deletions src/cxxwrap_version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include <tuple>

//Default value for the cxxwrap_version config parameter
static const char* default_cxxwrap_version = "0.15.0";
static const char* default_cxxwrap_version = "0.16.0";

static const char* supported_cxxwrap_versions = "0.14.x, 0.15.x";
static const char* supported_cxxwrap_versions = "0.14.x, 0.15.x, 0.16.x";

static int cxxwrap_v0_15 = 15 * 1000; //v0.15

Expand Down

0 comments on commit 8c0bf3e

Please sign in to comment.