Change initialize a bit
[c11tester.git] / actionlist.h
index 70f90eb8a93da61b647afb1b1323344c36c0c03b..ee0a144590fb8fd6ed146c025eab2e10c8984409 100644 (file)
@@ -4,7 +4,9 @@
 #include "classlist.h"
 #include "stl-model.h"
 
-#define ISACT 1
+#define ISACT ((uintptr_t) 1ULL)
+#define ACTMASK (~ISACT)
+
 #define ALLBITS 4
 #define ALLNODESIZE (1 << ALLBITS)
 #define ALLMASK ((1 << ALLBITS)-1)
@@ -39,6 +41,7 @@ public:
        uint size() {return _size;}
        sllnode<ModelAction *> * begin() {return head;}
        sllnode<ModelAction *> * end() {return tail;}
+       void fixupParent();
 
        SNAPSHOTALLOC;