diff options
Diffstat (limited to 'src/shared/test-tables.h')
-rw-r--r-- | src/shared/test-tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/test-tables.h b/src/shared/test-tables.h index 3261302077..3ac8729d74 100644 --- a/src/shared/test-tables.h +++ b/src/shared/test-tables.h @@ -49,3 +49,6 @@ static inline void _test_table(const char *name, #define test_table(lower, upper) \ _test_table(STRINGIFY(lower), lower##_to_string, lower##_from_string, _##upper##_MAX, false) + +#define test_table_sparse(lower, upper) \ + _test_table(STRINGIFY(lower), lower##_to_string, lower##_from_string, _##upper##_MAX, true) |