Skip to content

Commit

Permalink
Visual Studio fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Apr 17, 2016
1 parent 9aa5579 commit ebb9b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/src/cxx_wrap/cxx_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Module& ModuleRegistry::create_module(const std::string &name)
return *mod;
}

jl_datatype_t* julia_type(const std::string& name)
CXX_WRAP_EXPORT jl_datatype_t* julia_type(const std::string& name)
{
for(jl_module_t* mod : {jl_base_module, g_cxx_wrap_module, jl_current_module})
{
Expand Down
2 changes: 1 addition & 1 deletion deps/src/cxx_wrap/cxx_wrap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ inline jl_value_t* convert_to_julia(std::unique_ptr<T> cpp_val)
}

/// Get the type from a global symbol
jl_datatype_t* julia_type(const std::string& name);
CXX_WRAP_EXPORT jl_datatype_t* julia_type(const std::string& name);

} // namespace cxx_wrap

Expand Down

0 comments on commit ebb9b47

Please sign in to comment.