diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 23:30:24 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 23:30:24 +0100 |
commit | 80a78b91c2905fcacf0236d63a9f4e3d7e576d7e (patch) | |
tree | 305419312ba536e041be28bb271118e0ccf6956b /libgamma_subpixel_order_count.c | |
parent | m (diff) | |
download | libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.gz libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.bz2 libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.xz |
minor fixes + add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libgamma_subpixel_order_count.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgamma_subpixel_order_count.c b/libgamma_subpixel_order_count.c index d77a748..05adb51 100644 --- a/libgamma_subpixel_order_count.c +++ b/libgamma_subpixel_order_count.c @@ -2,8 +2,12 @@ #include "common.h" +#define X(...) +1 + /** * The number of values defined in `libgamma_subpixel_order_t` * in the version of the library the program is linked against */ -const int libgamma_subpixel_order_count = LIBGAMMA_SUBPIXEL_ORDER_COUNT; +const int libgamma_subpixel_order_count = LIST_SUBPIXEL_ORDERS(X); + +#undef X |