diff options
author | David Robillard <d@drobilla.net> | 2020-12-26 15:00:50 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-26 17:55:23 +0100 |
commit | c2816ab42b458c9c5202197b3df665340f57dddd (patch) | |
tree | 1d367483a854d7117920f95b943fb01424b77529 /lv2/atom | |
parent | 64d4a4a46901b1b1ab4eaac4f3f57f8d353e42c5 (diff) | |
download | lv2-c2816ab42b458c9c5202197b3df665340f57dddd.tar.xz |
Add clang-format suppression comments
Diffstat (limited to 'lv2/atom')
-rw-r--r-- | lv2/atom/atom-test.c | 3 | ||||
-rw-r--r-- | lv2/atom/atom.h | 4 |
2 files changed, 7 insertions, 0 deletions
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 <stdint.h> +// 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 |