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_method_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_method_count.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgamma_method_count.c b/libgamma_method_count.c index 34dd4fa..1f66e86 100644 --- a/libgamma_method_count.c +++ b/libgamma_method_count.c @@ -2,6 +2,8 @@ #include "common.h" +#define X(...) +1 + /** * The number adjustment methods provided by the * version this library the program is linked @@ -10,4 +12,6 @@ * This number includes both compile-time enabled * and compile-time disabled adjustment methods */ -const int libgamma_method_count = LIBGAMMA_METHOD_COUNT; +const int libgamma_method_count = LIST_METHODS(X); + +#undef X |