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_connector_type.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_connector_type.c')
-rw-r--r-- | libgamma_const_of_connector_type.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgamma_const_of_connector_type.c b/libgamma_const_of_connector_type.c index a006b88..5958953 100644 --- a/libgamma_const_of_connector_type.c +++ b/libgamma_const_of_connector_type.c @@ -15,8 +15,9 @@ const char * libgamma_const_of_connector_type(int connector) { switch (connector) { -#define X(CONST, NAME)\ - case CONST: return #CONST; +#define X(CONST, ...)\ + case CONST:\ + return #CONST; LIST_CONNECTOR_TYPES(X) #undef X default: |