From: Lennart Poettering Date: Fri, 26 Apr 2024 15:43:42 +0000 (+0200) Subject: varlink-idl: align continuation line character \ X-Git-Tag: v257-rc1~1142^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=901519d583a1cb9b8f0029d99f52bcf2917b16ea;p=thirdparty%2Fsystemd.git varlink-idl: align continuation line character \ --- diff --git a/src/shared/varlink-idl.h b/src/shared/varlink-idl.h index f2d4892eee2..6d0b3490fb2 100644 --- a/src/shared/varlink-idl.h +++ b/src/shared/varlink-idl.h @@ -82,25 +82,25 @@ struct VarlinkInterface { const VarlinkSymbol *symbols[]; }; -#define VARLINK_DEFINE_FIELD(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_FIELD(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags) } -#define VARLINK_DEFINE_FIELD_BY_TYPE(_name, _named_type, _field_flags) \ +#define VARLINK_DEFINE_FIELD_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags) } -#define VARLINK_DEFINE_INPUT(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_INPUT(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags), .field_direction = VARLINK_INPUT } -#define VARLINK_DEFINE_INPUT_BY_TYPE(_name, _named_type, _field_flags) \ +#define VARLINK_DEFINE_INPUT_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags), .field_direction = VARLINK_INPUT } -#define VARLINK_DEFINE_OUTPUT(_name, _field_type, _field_flags) \ +#define VARLINK_DEFINE_OUTPUT(_name, _field_type, _field_flags) \ { .name = #_name, .field_type = (_field_type), .field_flags = (_field_flags), .field_direction = VARLINK_OUTPUT } #define VARLINK_DEFINE_OUTPUT_BY_TYPE(_name, _named_type, _field_flags) \ { .name = #_name, .field_type = VARLINK_NAMED_TYPE, .named_type = #_named_type, .symbol = &vl_type_ ## _named_type, .field_flags = (_field_flags), .field_direction = VARLINK_OUTPUT } -#define VARLINK_DEFINE_ENUM_VALUE(_name) \ +#define VARLINK_DEFINE_ENUM_VALUE(_name) \ { .name = #_name, .field_type = VARLINK_ENUM_VALUE } #define VARLINK_DEFINE_METHOD(_name, ...) \