summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c16
-rw-r--r--src/port.c14
2 files changed, 17 insertions, 13 deletions
diff --git a/src/plugin.c b/src/plugin.c
index b13bbb8..5841bd2 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -82,7 +82,9 @@ lilv_plugin_free(LilvPlugin* p)
}
LilvNode*
-lilv_plugin_get_unique(const LilvPlugin* p, const SordNode* subject, const SordNode* predicate)
+lilv_plugin_get_unique(const LilvPlugin* p,
+ const SordNode* subject,
+ const SordNode* predicate)
{
LilvNodes* values = lilv_world_query_values(p->world,
subject, predicate, NULL);
@@ -97,7 +99,9 @@ lilv_plugin_get_unique(const LilvPlugin* p, const SordNode* subject, const SordN
}
static LilvNode*
-lilv_plugin_get_one(const LilvPlugin* p, const SordNode* subject, const SordNode* predicate)
+lilv_plugin_get_one(const LilvPlugin* p,
+ const SordNode* subject,
+ const SordNode* predicate)
{
LilvNodes* values = lilv_world_query_values(p->world,
subject, predicate, NULL);
@@ -410,7 +414,7 @@ lilv_plugin_get_name(const LilvPlugin* plugin)
LILV_API
LilvNodes*
lilv_plugin_get_value(const LilvPlugin* p,
- const LilvNode* predicate)
+ const LilvNode* predicate)
{
return lilv_plugin_get_value_for_subject(p, p->plugin_uri, predicate);
}
@@ -483,7 +487,7 @@ lilv_plugin_get_port_ranges_float(const LilvPlugin* p,
LILV_API
uint32_t
lilv_plugin_get_num_ports_of_class(const LilvPlugin* p,
- const LilvNode* class_1, ...)
+ const LilvNode* class_1, ...)
{
lilv_plugin_load_ports_if_necessary(p);
@@ -584,7 +588,7 @@ lilv_plugin_get_latency_port_index(const LilvPlugin* p)
LILV_API
bool
lilv_plugin_has_feature(const LilvPlugin* p,
- const LilvNode* feature)
+ const LilvNode* feature)
{
LilvNodes* features = lilv_plugin_get_supported_features(p);
@@ -644,7 +648,7 @@ lilv_plugin_get_port_by_index(const LilvPlugin* p,
LILV_API
const LilvPort*
lilv_plugin_get_port_by_symbol(const LilvPlugin* p,
- const LilvNode* symbol)
+ const LilvNode* symbol)
{
lilv_plugin_load_ports_if_necessary(p);
for (uint32_t i = 0; i < p->num_ports; ++i) {
diff --git a/src/port.c b/src/port.c
index 92c7519..48f169f 100644
--- a/src/port.c
+++ b/src/port.c
@@ -46,7 +46,7 @@ LILV_API
bool
lilv_port_is_a(const LilvPlugin* plugin,
const LilvPort* port,
- const LilvNode* port_class)
+ const LilvNode* port_class)
{
LILV_FOREACH(nodes, i, port->classes)
if (lilv_node_equals(lilv_nodes_get(port->classes, i), port_class))
@@ -90,7 +90,7 @@ LILV_API
bool
lilv_port_has_property(const LilvPlugin* p,
const LilvPort* port,
- const LilvNode* property)
+ const LilvNode* property)
{
assert(property);
const SordNode* port_node = lilv_port_get_node(p, port);
@@ -109,7 +109,7 @@ LILV_API
bool
lilv_port_supports_event(const LilvPlugin* p,
const LilvPort* port,
- const LilvNode* event)
+ const LilvNode* event)
{
#define NS_EV (const uint8_t*)"http://lv2plug.in/ns/ext/event#"
@@ -147,7 +147,7 @@ LILV_API
LilvNodes*
lilv_port_get_value(const LilvPlugin* p,
const LilvPort* port,
- const LilvNode* predicate)
+ const LilvNode* predicate)
{
if ( ! lilv_node_is_uri(predicate)) {
LILV_ERROR("Predicate is not a URI\n");
@@ -202,9 +202,9 @@ LILV_API
void
lilv_port_get_range(const LilvPlugin* p,
const LilvPort* port,
- LilvNode** def,
- LilvNode** min,
- LilvNode** max)
+ LilvNode** def,
+ LilvNode** min,
+ LilvNode** max)
{
if (def) {
LilvNodes* defaults = lilv_port_get_value_by_node(