Skip to content
Snippets Groups Projects
Commit da75e5b9 authored by Martin Nolte's avatar Martin Nolte
Browse files

Export IdSet interface to Python

parent 6cf62966
Branches
Tags
1 merge request!790Feature/add python bindings
......@@ -178,6 +178,7 @@ namespace Dune
return pybind11::str(obj);
}
}
static std::string getTypeName ( const GenerateTypeName &name ) { return name.name(); }
std::string getTypeName ( const std::string &name ) { return name; }
std::string getTypeName ( const char *name ) { return name; }
template <class T>
......@@ -203,6 +204,7 @@ namespace Dune
return {};
}
}
static std::vector< std::string > getIncludes ( const GenerateTypeName &name ) { return name.includes(); }
template <class T>
const std::vector<std::string> &getIncludes ( const Dune::MetaType<T> & )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment