19 #ifndef __PY_AutoObject_h__
20 #define __PY_AutoObject_h__
34 : myPyObject(py_object)
47 if (myPyObject != py_object)
50 myPyObject = py_object;
56 {
return myPyObject; }
59 {
return myPyObject; }
62 {
return myPyObject; }
65 {
return myPyObject; }
PY_AutoObject & operator=(PY_PyObject *py_object)
PY_PyObject const * ptr() const
PY_AutoObject(PY_PyObject *py_object)
#define PY_Py_XDECREF(op)
PY_PyObject * operator->()