B
bmatt
I am trying to figure out how to get a reference to a python object in
c++ so that I can call methods from c++. For example if I have the
following python code
class foo:
def func():
x = 1
f1 = foo()
f1.func()
How do I find f1 at get a Py_Object* to it so I can call the func
method?
Thanks
c++ so that I can call methods from c++. For example if I have the
following python code
class foo:
def func():
x = 1
f1 = foo()
f1.func()
How do I find f1 at get a Py_Object* to it so I can call the func
method?
Thanks