-
Background
Question
Question 1 : Two address
Question 2 : Python value can't be modified
Guess
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Please don't file issues for things that aren't bugs in the library. I will move this to the discussion page. I cannot provide support for what you are trying to do, but perhaps others have ideas. |
Beta Was this translation helpful? Give feedback.
-
There is no reasonable way for nanobind to support double indirection here, because the "outer" pointer or reference needs to be able to point at an "inner" pointer at some fixed location in memory, and that doesn't exist.
You could jump through hoops with a custom type_caster or something to support this, but it would be kind of useless, because you can't actually use the double-pointer to change what the inside pointer points to, which is the main reason someone would invoke one of these exotic creatures in the first place. |
Beta Was this translation helpful? Give feedback.
Please don't file issues for things that aren't bugs in the library. I will move this to the discussion page. I cannot provide support for what you are trying to do, but perhaps others have ideas.