From 70610a9cc403148e248fa2300fd7c0757f86a339 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Sep 2011 01:06:33 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3506 a436a847-0d15-0410-975c-d299462d15a1 --- lilv/lilv.h | 2 +- src/plugin.c | 4 ++-- src/world.c | 4 ++-- src/zix/common.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lilv/lilv.h b/lilv/lilv.h index fccec60..3d15b24 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -1012,7 +1012,7 @@ lilv_port_is_a(const LilvPlugin* plugin, /** Get the default, minimum, and maximum values of a port. - + @a def, @a min, and @a max are outputs, pass pointers to uninitialized LilvNode* variables. These will be set to point at new values (which must be freed by the caller using lilv_node_free), or NULL if the value does not diff --git a/src/plugin.c b/src/plugin.c index c4233c4..2a945f4 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -843,7 +843,7 @@ lilv_plugin_write_description(LilvWorld* world, const uint32_t num_ports = lilv_plugin_get_num_ports(plugin); const SerdNode* base = sord_node_to_serd_node(base_uri->val.uri_val); SerdEnv* env = new_lv2_env(base); - + SerdWriter* writer = serd_writer_new( SERD_TURTLE, SERD_STYLE_ABBREVIATED|SERD_STYLE_CURIED, @@ -867,7 +867,7 @@ lilv_plugin_write_description(LilvWorld* world, world, port->node, NULL, NULL); sord_write_iter(iter, writer); } - + serd_writer_free(writer); serd_env_free(env); } diff --git a/src/world.c b/src/world.c index 6be8a37..dc3c5b0 100644 --- a/src/world.c +++ b/src/world.c @@ -291,7 +291,7 @@ lilv_collection_get_by_uri(const ZixTree* const_seq, if (!st) { return (struct LilvHeader*)zix_tree_get(i); } - + return NULL; } @@ -679,7 +679,7 @@ lilv_world_load_specifications(LilvWorld* world) sord_node_to_serd_node(file->val.uri_val)); SerdReader* reader = sord_new_reader(world->model, env, SERD_TURTLE, NULL); - serd_reader_add_blank_prefix(reader, + serd_reader_add_blank_prefix(reader, lilv_world_blank_node_prefix(world)); serd_reader_read_file(reader, file_uri); serd_reader_free(reader); diff --git a/src/zix/common.h b/src/zix/common.h index 8ed0b0b..052cb7b 100644 --- a/src/zix/common.h +++ b/src/zix/common.h @@ -65,7 +65,7 @@ typedef bool (*ZixEqualFunc)(const void* a, const void* b); Function to destroy an element. */ typedef void (*ZixDestroyFunc)(const void* ptr); - + /**@} */ -- cgit v1.2.1