diff options
Diffstat (limited to 'src/memory-type-defs.hpp')
| -rw-r--r-- | src/memory-type-defs.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/memory-type-defs.hpp b/src/memory-type-defs.hpp index bc45160..d9d6f5e 100644 --- a/src/memory-type-defs.hpp +++ b/src/memory-type-defs.hpp @@ -3,11 +3,14 @@ #include <cstdint> +using PkeHandleBucketIndex_T = uint32_t; +using PkeHandleItemIndex_T = uint32_t; + struct PkeHandle { union { struct { - uint32_t bucketIndex; - uint32_t itemIndex; + PkeHandleBucketIndex_T bucketIndex; + PkeHandleItemIndex_T itemIndex; }; uint64_t hash = 0xFFFFFFFFFFFFFFFF; }; |
