Skip to content
Snippets Groups Projects
Commit 40b7758a authored by Andreas Dedner's avatar Andreas Dedner
Browse files

Merge branch 'feature/export-idset' into 'master'

Export IdSet interface to Python

See merge request staging/dune-python!63
parents 88b3dc4a da75e5b9
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