diff options
Diffstat (limited to 'include/datatype.h')
-rw-r--r-- | include/datatype.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h index 50b85c31..ca6ba9fe 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -82,6 +82,9 @@ enum datatypes { }; #define TYPE_MAX (__TYPE_MAX - 1) +#define TYPE_BITS 6 +#define TYPE_MASK ((1 << TYPE_BITS) - 1) + /** * enum byteorder * |