return a python function from python c-api

I would seriously consider using swig instead of pybind11 for example. It’s just peace of mind. If you don’t want to use swig directly, you can at least see what swig does to wrap up features like proxy objects.

http://www.swig.org/Doc2.0/SWIGPlus.html#SWIGPlus_nn38

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top