Replies: 1 comment
-
got the same question, do you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've defined a cpp class Vec and its corresponding trampoline class PyVec, just like the example from the document and it works fine.
And now there's a function that should takes Vec or perhaps its python inherited object as a parameter, how to make it work successfully on the virtual function(this function also has a python binding)?
A detailed example of the python part is like this:
What I wanna do is to let the python user to define some callback function in python code and then be called in the cpp function.
Beta Was this translation helpful? Give feedback.
All reactions