aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'ext/atom.lv2')
-rw-r--r--ext/atom.lv2/atom-helpers.h6
-rw-r--r--ext/atom.lv2/atom.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/ext/atom.lv2/atom-helpers.h b/ext/atom.lv2/atom-helpers.h
index 71c16e9..ae4bc6f 100644
--- a/ext/atom.lv2/atom-helpers.h
+++ b/ext/atom.lv2/atom-helpers.h
@@ -170,8 +170,8 @@ lv2_atom_is_a(LV2_Atom* object,
/** A single entry in an Object query. */
typedef struct {
- uint32_t key; ///< Key to query (input set by user)
- const LV2_Atom* value; ///< Found value (output set by query function)
+ uint32_t key; /**< Key to query (input set by user) */
+ const LV2_Atom* value; /**< Found value (output set by query function) */
} LV2_Object_Query;
/**
@@ -189,7 +189,7 @@ lv2_object_query(const LV2_Atom* object, LV2_Object_Query* query)
int matches = 0;
int n_queries = 0;
- // Count number of query keys so we can short-circuit when done
+ /* Count number of query keys so we can short-circuit when done */
for (LV2_Object_Query* q = query; q->key; ++q)
++n_queries;
diff --git a/ext/atom.lv2/atom.h b/ext/atom.lv2/atom.h
index ed5ddd8..61482c7 100644
--- a/ext/atom.lv2/atom.h
+++ b/ext/atom.lv2/atom.h
@@ -35,8 +35,6 @@
#include <stdint.h>
#include <stddef.h>
-#define LV2_ATOM_FROM_EVENT(ev) ((LV2_Atom*)&((LV2_Event*)ev)->type)
-
/**
An LV2 Atom.