Skip to content
Snippets Groups Projects
Commit 4db23145 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[bindings] Inline getOrCreatePythonNamespace

parent 1872dcc5
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@ namespace pinocchio
///
/// \returns The submodule related to the namespace name.
///
bp::object getOrCreatePythonNamespace(const std::string & submodule_name)
inline bp::object getOrCreatePythonNamespace(const std::string & submodule_name)
{
bp::scope current_scope;
std::string current_scope_name(bp::extract<const char*>(current_scope.attr("__name__")));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment