issue #2902: track attribute objects in parent structure to notify about changes

This commit is contained in:
wmayer
2017-02-14 16:38:38 +01:00
parent f95587fc7a
commit cdbfee565a
2 changed files with 59 additions and 6 deletions

View File

@@ -296,8 +296,11 @@ public:
typedef void* PointerType;
private:
void setAttributeOf(const char* attr, const PyObjectBase* par);
void setAttributeOf(const char* attr, PyObject* par);
void resetAttribute();
PyObject* getTrackedAttribute(const char* attr);
void trackAttribute(const char* attr, PyObject* obj);
void untrackAttribute(const char* attr);
protected:
std::bitset<32> StatusBits;