diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
commit | 95ab9c9d236ecc524d98a6a08cd5bae9667265fb (patch) | |
tree | 7c22a10f056aab6c1e716059b2ce27cc6c625ad2 /src/world.c | |
parent | b4cd6dd752c8da20e61abd3774bf9302724a773f (diff) | |
download | lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.tar.gz lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.tar.bz2 lilv-95ab9c9d236ecc524d98a6a08cd5bae9667265fb.zip |
Terser names for value constructors.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.c b/src/world.c index 92f3ddc..e930964 100644 --- a/src/world.c +++ b/src/world.c @@ -60,7 +60,7 @@ lilv_world_new() #define NS_DC (const uint8_t*)"http://dublincore.org/documents/dcmi-namespace/" #define NEW_URI(uri) sord_new_uri(world->world, uri) -#define NEW_URI_VAL(uri) lilv_value_new_uri(world, (const char*)(uri)); +#define NEW_URI_VAL(uri) lilv_new_uri(world, (const char*)(uri)); world->dc_replaces_node = NEW_URI(NS_DC "replaces"); world->dyn_manifest_node = NEW_URI(NS_DYNMAN "DynManifest"); @@ -325,7 +325,7 @@ lilv_world_add_plugin(LilvWorld* world, // Add manifest as plugin data file (as if it were rdfs:seeAlso) lilv_array_append(plugin->data_uris, - lilv_value_new_uri(world, (const char*)manifest_uri->buf)); + lilv_new_uri(world, (const char*)manifest_uri->buf)); // Set dynamic manifest library URI, if applicable if (dyn_manifest_lib) { @@ -569,7 +569,7 @@ lilv_world_load_directory(LilvWorld* world, const char* dir_path) DIR* const bundle_dir = opendir(uri + file_scheme_len); if (bundle_dir) { closedir(bundle_dir); - LilvValue* uri_val = lilv_value_new_uri(world, uri); + LilvValue* uri_val = lilv_new_uri(world, uri); lilv_world_load_bundle(world, uri_val); lilv_value_free(uri_val); } else { |