Skip to content

Commit

Permalink
Fix name in ClassEntry Binding_ObjectFactory.cpp (#455)
Browse files Browse the repository at this point in the history
The name was missing.

Signed-off-by: Damien Marchal <damien.marchal@univ-lille1.fr>
  • Loading branch information
damienmarchal authored Sep 23, 2024
1 parent 6a074f9 commit c416793
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ py::dict dataAlias(const ObjectFactory::ClassEntry &self)


void moduleAddObjectFactory(py::module &m) {
py::class_<ObjectFactory> factory (m, "ObjectFactory", sofapython3::doc::objectmodel::ObjectFactoryClass);
py::class_<ObjectFactory> factory (m, "ObjectFactory",
sofapython3::doc::objectmodel::ObjectFactoryClass);

py::class_<ObjectFactory::ClassEntry> entry(m, sofapython3::doc::objectmodel::ClassEntryClass);
py::class_<ObjectFactory::ClassEntry> entry(m, "ClassEntry",
sofapython3::doc::objectmodel::ClassEntryClass);
entry.def_property_readonly("className", &className);
entry.def_property_readonly("aliases", &aliases);
entry.def_property_readonly("description", &description);
Expand Down

0 comments on commit c416793

Please sign in to comment.