Re: [C++-sig] calling python object's method from c++

2016-02-20 Thread Stefan Seefeld
On 19.02.2016 08:10, Sampsa Riikonen wrote: > 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 segment

[C++-sig] calling python object's method from c++

2016-02-20 Thread Sampsa Riikonen
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