Skip to content

How to cast nb::dict value to char? #179

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

You must be logged in to vote

Fixed via 9ae3205. This will be part of the next nanobind release that is probably still a few weeks away. Until then, you can either use the master branch of nanobind or implement your own version of nb::cast using the example shown in this commit.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wjakob
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