You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all, I'm trying to create a pybind bindings with a third-party code. There has been a lot of their bindings code written in boost::python. So is there a way to make myclass.def_readwrite(...) recognize boost::python pyd - python class? like:
// boost::python defined a py-version of myclass
my_pybind.def_readwrite("c", &myclass::myvariable) // this will generate an error, cannot recognize type
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all, I'm trying to create a pybind bindings with a third-party code. There has been a lot of their bindings code written in boost::python. So is there a way to make myclass.def_readwrite(...) recognize boost::python pyd - python class? like:
can this possiblely be done?
Beta Was this translation helpful? Give feedback.
All reactions