Skip to content

[char*] How to bind a function accept a char* argument? #268

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

You must be logged in to vote

It's not supported. The nanobind Python bindings will call your function with a const char * from an internal buffer that you are not allowed to write to.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@huangweiwu
Comment options

Answer selected by huangweiwu
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