Dear List,

I am unable to solve an issue with the python c api (python 2.7).

Namely, I am trying to pass a python object to c++, where the python object is then passed to a c++ class that calls the python object's method.. I only get segmentation faults.

No one has been able to help with me with this problem, so I thought that a guru from this mailing list / community might know the answer.

The question, with setup.py, source code, etc. has been posted here:

http://stackoverflow.com/questions/35466991/calling-python-objects-method-from-c

.. it is a few-liner, testing the concept of passing around python objects within c++.

Regards,

Sampsa

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to