diff options
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  |