* This method returns the Python wrapper for a C++ object. It's in the responsibility of * the programmer to do the correct reference counting. Basically there are two ways how * to implement that: Either always return a new Python object then reference counting is * not a matter or return always the same Python object then the reference counter must be * incremented by one. However, it's
| 103 | * The default implementation returns 'None'. |
| 104 | */ |
| 105 | PyObject* BaseClass::getPyObject() |
| 106 | { |
| 107 | Py_Return; |
| 108 | } |
| 109 | |
| 110 | void BaseClass::setPyObject(PyObject* /*unused*/) |
| 111 | {} |