a new field has been added to the standard object layout, shifting the access for oid
authorjjenista <jjenista>
Wed, 20 Apr 2011 23:46:41 +0000 (23:46 +0000)
committerjjenista <jjenista>
Wed, 20 Apr 2011 23:46:41 +0000 (23:46 +0000)
Robust/src/Runtime/mlp_runtime.h

index a0ccb5d17fd31919c3e950f4d51a4bfd6b298af4..8c2b9d73d544eeb641d96dd7c41da3b1f6c93934 100644 (file)
@@ -62,7 +62,8 @@
 // Object at runtime to retrieve the object's type
 // or object id (OID), 64-bit safe
 #define OBJPTRPTR_2_OBJTYPE( opp ) ((int*)*(opp))[0]
-#define OBJPTRPTR_2_OBJOID(  opp ) ((int*)*(opp))[1]
+// int hashcode is the [1] NOW!!!
+#define OBJPTRPTR_2_OBJOID(  opp ) ((int*)*(opp))[2]
 
 // forwarding list elements is a linked
 // structure of arrays, should help task