summaryrefslogtreecommitdiff
path: root/lib/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types.h')
-rw-r--r--lib/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/types.h b/lib/types.h
index fcc2ce7..572ec64 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -3,6 +3,7 @@
typedef uint_fast32_t v_t;
typedef uint_fast8_t q_t;
+typedef uint_fast16_t R_t;
typedef uint_fast8_t D_t;
typedef uint_fast16_t L_t;
typedef uint_fast64_t count_t;
@@ -10,6 +11,7 @@ typedef int_fast64_t h_t;
#define MAX_v UINT_FAST32_MAX
#define MAX_Q UINT_FAST8_MAX
+#define MAX_R UINT_FAST16_MAX
#define MAX_D UINT_FAST8_MAX
#define MAX_L UINT_FAST16_MAX
#define MAX_COUNT UINT_FAST64_MAX
@@ -18,6 +20,7 @@ typedef int_fast64_t h_t;
#define PRIv PRIuFAST32
#define PRIq PRIuFAST8
+#define PRIR PRIuFAST16
#define PRID PRIuFAST8
#define PRIL PRIuFAST16
#define PRIcount PRIuFAST64