bug fixes
[IRC.git] / Robust / src / Runtime / ObjectHash.h
index 4a7774a951bc30cceae15cbc1935c40f84577859..ed6765720b9efc663c28dda86ae74d98bb64e136 100755 (executable)
@@ -24,6 +24,9 @@ void freeObjectHash(struct ObjectHash *);
 
 void ObjectHashrehash(struct ObjectHash * thisvar);
 int ObjectHashadd(struct ObjectHash *, int key, int data, int data2, int data3, int data4);
+#ifdef MULTICORE
+int ObjectHashadd_I(struct ObjectHash *, int key, int data, int data2, int data3, int data4);
+#endif
 int ObjectHashremove(struct ObjectHash *,int key);
 bool ObjectHashcontainskey(struct ObjectHash *,int key);
 bool ObjectHashcontainskeydata(struct ObjectHash *,int key, int data);
@@ -35,11 +38,11 @@ void ObjectHashiterator(struct ObjectHash *, struct ObjectIterator * it);
 int ObjectHashcount(struct ObjectHash *, int key);
 
 struct ObjectHash {
-    int numelements;
-    int size;
-    struct ObjectNode **bucket;
-    struct ObjectNode *listhead;
-    struct ObjectNode *listtail;
+  int numelements;
+  int size;
+  struct ObjectNode **bucket;
+  struct ObjectNode *listhead;
+  struct ObjectNode *listtail;
 };
 
 inline int ObjectHashcountset(struct ObjectHash * thisvar);