summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecHsh4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/vec/vecHsh4.h')
-rw-r--r--src/misc/vec/vecHsh4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc/vec/vecHsh4.h b/src/misc/vec/vecHsh4.h
index bd44f35e..af48f32b 100644
--- a/src/misc/vec/vecHsh4.h
+++ b/src/misc/vec/vecHsh4.h
@@ -60,6 +60,9 @@ struct Hsh_Int4Man_t_
////////////////////////////////////////////////////////////////////////
static inline Hsh_Int4Obj_t * Hsh_Int4Obj( Hsh_Int4Man_t * p, int iObj ) { return iObj ? (Hsh_Int4Obj_t *)Vec_IntEntryP(p->vObjs, 4*iObj) : NULL; }
+static inline int Hsh_Int4ObjRes( Hsh_Int4Man_t * p, int i ) { return Hsh_Int4Obj(p, i)->iRes; }
+static inline void Hsh_Int4ObjInc( Hsh_Int4Man_t * p, int i ) { Hsh_Int4Obj(p, i)->iRes++; }
+static inline void Hsh_Int4ObjDec( Hsh_Int4Man_t * p, int i ) { Hsh_Int4Obj(p, i)->iRes--; }
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///