Skip to content
Snippets Groups Projects
Verified Commit 3c0e3746 authored by René Fritze's avatar René Fritze
Browse files

[interpreter] make sure GlobalInterpreter is shared in DSOs

parent f6f9058b
No related branches found
No related tags found
2 merge requests!10Fix compilation with new clang,!6Merge pybind
......@@ -15,6 +15,8 @@
#include <map>
#include <string>
#include <dune/common/visibility.hh>
#include "embed.h"
namespace Dune {
......@@ -33,7 +35,7 @@ private:
std::map<std::string, pybind11::module> modules_;
}; // class ScopedInterpreter
ScopedInterpreter &GlobalInterpreter();
DUNE_EXPORT ScopedInterpreter &GlobalInterpreter();
} // namespace PybindXI
} // namespace Dune
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment