diff options
-rw-r--r-- | lilv/lilv.h | 4 | ||||
-rw-r--r-- | src/lib.c | 2 | ||||
-rw-r--r-- | src/lilv_internal.h | 2 | ||||
-rw-r--r-- | src/state.c | 2 | ||||
-rw-r--r-- | test/test_plugin.c | 4 | ||||
-rw-r--r-- | utils/lv2info.c | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 9f77729..80bf23c 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -1183,7 +1183,7 @@ typedef const void* (*LilvGetPortValueFunc)(const char* port_symbol, /** Create a new state snapshot from a plugin instance. - + @param plugin The plugin this state applies to. @param instance An instance of @c plugin. @@ -1226,7 +1226,7 @@ typedef const void* (*LilvGetPortValueFunc)(const char* port_symbol, may simply use the same directory for all of them (or pass NULL to not support files at all). The multiple parameters are necessary to support saving an instances state many times while avoiding any duplication of data. - + If supported (via state:makePath passed to LV2_Descriptor::instantiate()), @c file_dir should be the directory where any files created by the plugin (not during save time, e.g. during instantiation) are stored. These files @@ -99,7 +99,7 @@ lilv_lib_close(LilvLib* lib) { if (--lib->refs == 0) { dlclose(lib->lib); - + ZixTreeIter* i = NULL; if (lib->world->libs && !zix_tree_find(lib->world->libs, lib, &i)) { zix_tree_remove(lib->world->libs, i); diff --git a/src/lilv_internal.h b/src/lilv_internal.h index 9ae6eed..c01b0d3 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -134,7 +134,7 @@ struct LilvInstancePimpl { LilvWorld* world; LilvLib* lib; }; - + typedef struct { bool dyn_manifest; bool filter_language; diff --git a/src/state.c b/src/state.c index 5753f25..b9a4650 100644 --- a/src/state.c +++ b/src/state.c @@ -661,7 +661,7 @@ ttl_writer(SerdSink sink, void* stream, const SerdNode* base, SerdEnv** new_env) if (base && base->buf) { serd_uri_parse(base->buf, &base_uri); } - + SerdEnv* env = serd_env_new(base); set_prefixes(env); diff --git a/test/test_plugin.c b/test/test_plugin.c index 09cbf5b..5a960b2 100644 --- a/test/test_plugin.c +++ b/test/test_plugin.c @@ -124,7 +124,7 @@ instantiate(const LV2_Descriptor* descriptor, } fprintf(test->rec_file, "instantiate\n"); } - + return (LV2_Handle)test; } @@ -310,7 +310,7 @@ restore(LV2_Handle instance, if (!map_path) { return; } - + char* apath = (char*)retrieve( callback_data, map_uri(plugin, "http://example.org/extfile"), diff --git a/utils/lv2info.c b/utils/lv2info.c index b6955ba..b2f88a1 100644 --- a/utils/lv2info.c +++ b/utils/lv2info.c @@ -295,14 +295,14 @@ print_plugin(LilvWorld* world, if (data) printf("\n"); lilv_nodes_free(data); - + /* Presets */ LilvNodes* presets = lilv_plugin_get_related(p, preset_class); if (presets) printf("\tPresets: \n"); LILV_FOREACH(nodes, i, presets) { - const LilvNode* preset = lilv_nodes_get(presets, i); + const LilvNode* preset = lilv_nodes_get(presets, i); lilv_world_load_resource(world, preset); LilvNodes* titles = lilv_world_find_nodes( world, preset, label_pred, NULL); |