Placed the Python cxx wrapping in namespace python::common

This commit is contained in:
Joakim Hove
2019-09-13 09:22:49 +02:00
parent ab51fce599
commit f264c358e7
16 changed files with 38 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ std::string direction( const Connection& c ) {
}
void opmcommon_python::export_Connection(py::module& module) {
void python::common::export_Connection(py::module& module) {
py::class_< Connection >( module, "Connection")
.def_property_readonly("direction", &direction )