Missing PyObject definition
Diez B. Roggisch
deets at nospam.web.de
Mon Mar 17 16:23:12 CET 2008
James Whetstone wrote:
> I'm trying to access a PyObject directly from C++ for the purpose of
> calling method on a Python object that is an intance of a derived C++
> class. My problem is that the compiler is complaining about not PyObject
> not being
> defined. Has anyone run into the problem? Where is PyObject defined?
This is a problem-description pretty far on the vague side, so the answer
can be as vague only: in Python.h, which should be part of your
Better answers can be provided when you give more information - platform,
python-version, source-code, tracebacks...
More information about the Python-list