Skip to content

Commit 5638a5e

Browse files
Add getGlobalInstance method
1 parent be578cc commit 5638a5e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/mobase/wrappers/basic_classes.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,9 @@ namespace mo2::python {
814814
py::class_<IInstanceManager>(m, "IInstanceManager")
815815
.def("currentInstance", &IInstanceManager::currentInstance,
816816
py::return_value_policy::reference)
817-
.def("globalInstancePaths", &IInstanceManager::globalInstancePaths);
817+
.def("globalInstancePaths", &IInstanceManager::globalInstancePaths)
818+
.def("getGlobalInstance", &IInstanceManager::getGlobalInstance,
819+
py::return_value_policy::reference);
818820
}
819821

820822
void add_idownload_manager_classes(py::module_ m)

0 commit comments

Comments
 (0)