diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 18:23:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 18:33:49 +0100 |
commit | f52513b09580c1533e6c48a4162d3d5f61f3b081 (patch) | |
tree | 141d0974a777f4ec5b51daed9879a2cb0d781505 /libgamma_const_of_method.c | |
parent | Split source files, merge public header files, eliminite use gpp, rewrite makefile (diff) | |
download | libgamma-f52513b09580c1533e6c48a4162d3d5f61f3b081.tar.gz libgamma-f52513b09580c1533e6c48a4162d3d5f61f3b081.tar.bz2 libgamma-f52513b09580c1533e6c48a4162d3d5f61f3b081.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamma_const_of_method.c')
-rw-r--r-- | libgamma_const_of_method.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgamma_const_of_method.c b/libgamma_const_of_method.c index e6fd872..98ffd0e 100644 --- a/libgamma_const_of_method.c +++ b/libgamma_const_of_method.c @@ -14,8 +14,9 @@ const char * libgamma_const_of_method(int method) { switch (method) { -#define X(CONST, NAME, CNAME, ENABLED)\ - case CONST: return #CONST; +#define X(CONST, ...)\ + case CONST:\ + return #CONST; LIST_METHODS(X) #undef X default: |