diff --git a/src/Base/PyObjectBase.h b/src/Base/PyObjectBase.h index 611e1a395e..89e794fae7 100644 --- a/src/Base/PyObjectBase.h +++ b/src/Base/PyObjectBase.h @@ -220,6 +220,11 @@ public: /// decref method wrapper (see python extending manual) PyObjectBase* DecRef() {Py_DECREF(this);return this;} + /// Get the pointer of the twin object + void* getTwinPointer() const { + return _pcTwinPointer; + } + /** GetAttribute implementation * This method implements the retrieval of object attributes. * If you want to implement attributes in your class, reimplement