From 3b152cfc3ca90ae4c6ba9fa94c869650340d5f41 Mon Sep 17 00:00:00 2001 From: jjenista Date: Wed, 20 Apr 2011 23:46:41 +0000 Subject: [PATCH] a new field has been added to the standard object layout, shifting the access for oid --- Robust/src/Runtime/mlp_runtime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robust/src/Runtime/mlp_runtime.h b/Robust/src/Runtime/mlp_runtime.h index a0ccb5d1..8c2b9d73 100644 --- a/Robust/src/Runtime/mlp_runtime.h +++ b/Robust/src/Runtime/mlp_runtime.h @@ -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 -- 2.34.1