#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);