Skip to content

Conversation

@JonathanFeenstra
Copy link
Contributor


py::class_<IInstanceManager>(m, "IInstanceManager")
.def("currentInstance", &IInstanceManager::currentInstance,
py::return_value_policy::reference)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the return value policy on currentInstance() and getGlobalInstance() are needed (or even valid?) since IInstance uses shared_ptr.

@Holt59 Holt59 merged commit b1ecd89 into ModOrganizer2:master Feb 8, 2026
3 checks passed
@JonathanFeenstra JonathanFeenstra deleted the iinstancemanager branch February 8, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants