Skip to content

Commit

Permalink
Set version to 0.14.0
Browse files Browse the repository at this point in the history
Also fix missing symbols in MSVC
  • Loading branch information
barche committed Nov 12, 2024
1 parent 01fb872 commit 09cdba6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions include/jlcxx/jlcxx_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#endif

#define JLCXX_VERSION_MAJOR 0
#define JLCXX_VERSION_MINOR 13
#define JLCXX_VERSION_PATCH 2
#define JLCXX_VERSION_MINOR 14
#define JLCXX_VERSION_PATCH 0

// From https://stackoverflow.com/questions/5459868/concatenate-int-to-string-using-c-preprocessor
#define __JLCXX_STR_HELPER(x) #x
Expand Down
6 changes: 3 additions & 3 deletions include/jlcxx/stl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ namespace stl

JLCXX_API jl_module_t* stl_module();

void set_wrapper(Module& stl, std::string name, jl_value_t* supertype);
TypeWrapper1& get_wrapper(std::string name);
bool has_wrapper(std::string name);
JLCXX_API void set_wrapper(Module& stl, std::string name, jl_value_t* supertype);
JLCXX_API TypeWrapper1& get_wrapper(std::string name);
JLCXX_API bool has_wrapper(std::string name);

// Separate per-container functions to split up the compilation over multiple C++ files
void apply_vector();
Expand Down
6 changes: 3 additions & 3 deletions src/stl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ StoredWrappersT& stl_wrappers()
return wrappers;
}

void set_wrapper(Module& stl, std::string name, jl_value_t* supertype)
JLCXX_API void set_wrapper(Module& stl, std::string name, jl_value_t* supertype)
{
auto result = stl_wrappers().insert(std::make_pair(name, stl.add_type<Parametric<TypeVar<1>>>(name, supertype)));
if(!result.second)
Expand All @@ -29,7 +29,7 @@ void set_wrapper(Module& stl, std::string name, jl_value_t* supertype)
}
}

TypeWrapper1& get_wrapper(std::string name)
JLCXX_API TypeWrapper1& get_wrapper(std::string name)
{
auto result = stl_wrappers().find(name);
if(result == stl_wrappers().end())
Expand All @@ -39,7 +39,7 @@ TypeWrapper1& get_wrapper(std::string name)
return result->second;
}

bool has_wrapper(std::string name)
JLCXX_API bool has_wrapper(std::string name)
{
return stl_wrappers().count(name) != 0;
}
Expand Down

0 comments on commit 09cdba6

Please sign in to comment.