aboutsummaryrefslogtreecommitdiffstats
path: root/cheesemap.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-23 07:52:39 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-23 07:52:39 +0100
commit17f1bd79e251bd570ad79da2249f8e0bdaf5aa9f (patch)
tree192f949e141321a38df695b7d5b15ea95a206a4e /cheesemap.h
parent567fa14e1ea5641cfabcc91d426a16088154c5ba (diff)
specialize for 8 byte and 16 byte groups
Diffstat (limited to 'cheesemap.h')
-rw-r--r--cheesemap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cheesemap.h b/cheesemap.h
index 50fa7bf..7cdb2de 100644
--- a/cheesemap.h
+++ b/cheesemap.h
@@ -20,10 +20,7 @@ extern "C" {
typedef uintptr_t group_t;
typedef group_t bitmask_t;
-
-enum {
- CM_GROUP_SIZE = sizeof(group_t),
-};
+#define CM_GROUP_SIZE __SIZEOF_POINTER__
////////////////////////////////
// cheesemap callback functions