Skip to content

Stubgen fails to cast enum class defined in other extensions when they are used as default value of function argument #621

Closed Answered by wjakob
metab0t asked this question in Q&A
Discussion options

You must be logged in to vote

In this case, your extension itself should import the other one. See nb::module_::import_("...")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wjakob
Comment options

Answer selected by metab0t
@metab0t
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants