summaryrefslogtreecommitdiff
path: root/src/libnm-glib-aux/nm-macros-internal.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-07-28 10:37:04 +0200
committerThomas Haller <thaller@redhat.com>2022-07-28 13:06:08 +0200
commit6501f741fc71d7c84852266e663ba3bf8b69570d (patch)
treea709362f3c62e8dac8d68e9b97f8da315c8fa32b /src/libnm-glib-aux/nm-macros-internal.h
parent5c54bad89db9de13c462dbd9f3e47294af3dc6ba (diff)
downloadNetworkManager-6501f741fc71d7c84852266e663ba3bf8b69570d.tar.gz
std-aux: add argument to "op" parameter for NM_VA_ARGS_FOREACH() macro
This will be needed to pass "NM_UNIQ" to the op macro, to construct a NM_UNIQ_T() unique name.
Diffstat (limited to 'src/libnm-glib-aux/nm-macros-internal.h')
-rw-r--r--src/libnm-glib-aux/nm-macros-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-glib-aux/nm-macros-internal.h b/src/libnm-glib-aux/nm-macros-internal.h
index 6f6aeff106..f2a4461e2e 100644
--- a/src/libnm-glib-aux/nm-macros-internal.h
+++ b/src/libnm-glib-aux/nm-macros-internal.h
@@ -1195,7 +1195,7 @@ _NM_IN_STRSET_EVAL_op_streq_ascii_case(const char *x1, const char *x)
return x && g_ascii_strcasecmp(x1, x) == 0;
}
-#define _NM_IN_STRSET_EVAL_OP_STREQ_ASCII_CASE(x, idx) \
+#define _NM_IN_STRSET_EVAL_OP_STREQ_ASCII_CASE(x, idx, op_arg) \
_NM_IN_STRSET_EVAL_op_streq_ascii_case(_x1, x)
#define NM_IN_STRSET_ASCII_CASE(x1, ...) \
_NM_IN_STRSET_EVAL(||, _NM_IN_STRSET_EVAL_OP_STREQ_ASCII_CASE, x1, __VA_ARGS__)