diff options
Diffstat (limited to 'libk')
-rw-r--r-- | libk/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libk/types.h b/libk/types.h index 08d42b9..4c50a35 100644 --- a/libk/types.h +++ b/libk/types.h @@ -4,7 +4,11 @@ typedef unsigned short size_t; typedef int ssize_t; typedef unsigned char uint8_t; + typedef unsigned short uint16_t; +constexpr uint16_t uint16_t_min = 0; +constexpr uint16_t uint16_t_max = 0xffff; + typedef unsigned int uint32_t; typedef unsigned long long int uint64_t; |