aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-06 19:56:38 +0000
committerDavid Robillard <d@drobilla.net>2011-11-06 19:56:38 +0000
commitad2bddcbee17a637a73d24ede3ecffde8d499b62 (patch)
treedc84f6404ba74cd3d9805e9b3ebcb495c573268a /ext/atom.lv2
parentee319f2c45766164eab47e0b5949c80e0c464ada (diff)
downloadlv2-ad2bddcbee17a637a73d24ede3ecffde8d499b62.tar.xz
Lint.
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.