start of new file
[IRC.git] / Robust / src / Runtime / DSTM / interface / localobjects.h
index 2e35a765988f9b3ef50c67fcd76671c0799ab634..6b69ee8793410efd74b27af05232588e605b9805 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef LOCALOBJECT_H
-#include LOCALOBJECT_H
+#define LOCALOBJECT_H
 #include "structdefs.h"
+#include "garbage.h"
 void REVERT_OBJ(struct ___Object___ *);
-#define COMMIT_OBJ(obj) obj->localcopy=NULL
+#define COMMIT_OBJ(obj) obj->___localcopy___=NULL;\
+  obj->___nextobject___=NULL
 
 #ifdef PRECISE_GC
 void COPY_OBJ(struct garbagelist * gl, struct ___Object___ *obj);