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

migrate the C++ _<name> modules directly into the dune namespace

This allows them to be loaded without loading the corresponding Python
mdoule, avoiding circular dependencies.
parent 83f25e7c
No related branches found
No related tags found
1 merge request!790Feature/add python bindings
add_python_targets(typeregistry
__init__
)
dune_add_pybind11_module(NAME _typeregistry)
from ._typeregistry import *
from .._typeregistry import *
// -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#include <config.h>
#include <dune/python/common/typeregistry.hh>
PYBIND11_MODULE( _typeregistry, module )
{
Dune::Python::registerTypeRegistry(module);
}
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