Ref counting
[iotcloud.git] / version2 / src / C / Entry.h
index 2a0c9f42a8c230fea2a2d3d8bcdb7704b5e3670c..2c018296c23fce1bf92e96f8393bd20d340daa21 100644 (file)
@@ -51,7 +51,8 @@ public:
         * array.
         */
        virtual int getSize() = 0;
-
+       virtual void releaseRef() {delete this;}
+       virtual void acquireRef() {}
 
        /**
         * Returns a copy of the Entry that can be added to a different slot.