Skip to content

Conversation

@ooooo-create
Copy link

Add py::module_local() to pybind11::class to avoid conflicts with other pybind modules sharing the same class name.
It will raise generic_type: type "xxx" is already registered!

…er pybind modules sharing the same class name
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.

1 participant