From c2816ab42b458c9c5202197b3df665340f57dddd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Dec 2020 15:00:50 +0100 Subject: Add clang-format suppression comments --- lv2/atom/atom-test.c | 3 +++ lv2/atom/atom.h | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'lv2/atom') diff --git a/lv2/atom/atom-test.c b/lv2/atom/atom-test.c index 1af1ae1..24f176e 100644 --- a/lv2/atom/atom-test.c +++ b/lv2/atom/atom-test.c @@ -341,6 +341,8 @@ main(void) return test_fail("Bad match sequence\n"); } memset(&matches, 0, sizeof(matches)); + + // clang-format off n_matches = lv2_atom_object_get((LV2_Atom_Object*)obj, eg_one, &matches.one, eg_two, &matches.two, @@ -358,6 +360,7 @@ main(void) eg_vector2, &matches.vector2, eg_seq, &matches.seq, 0); + // clang-format on } free_urid_map(); diff --git a/lv2/atom/atom.h b/lv2/atom/atom.h index 7ea0db7..2f62947 100644 --- a/lv2/atom/atom.h +++ b/lv2/atom/atom.h @@ -30,6 +30,8 @@ #include +// clang-format off + #define LV2_ATOM_URI "http://lv2plug.in/ns/ext/atom" ///< http://lv2plug.in/ns/ext/atom #define LV2_ATOM_PREFIX LV2_ATOM_URI "#" ///< http://lv2plug.in/ns/ext/atom# @@ -65,6 +67,8 @@ #define LV2_ATOM__supports LV2_ATOM_PREFIX "supports" ///< http://lv2plug.in/ns/ext/atom#supports #define LV2_ATOM__timeUnit LV2_ATOM_PREFIX "timeUnit" ///< http://lv2plug.in/ns/ext/atom#timeUnit +// clang-format on + #define LV2_ATOM_REFERENCE_TYPE 0 ///< The special type for a reference atom #ifdef __cplusplus -- cgit v1.2.1