From 6c72abfc6d6649f07d85f70b25ce4393dc775a39 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Apr 2011 02:07:42 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3241 a436a847-0d15-0410-975c-d299462d15a1 --- src/world.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index 336970f..edd9bd1 100644 --- a/src/world.c +++ b/src/world.c @@ -56,8 +56,8 @@ lilv_world_new(void) world->plugin_classes = lilv_plugin_classes_new(); world->plugins = lilv_plugins_new(); -#define NS_DYNMAN (const uint8_t*)"http://lv2plug.in/ns/ext/dynmanifest#" -#define NS_DC (const uint8_t*)"http://dublincore.org/documents/dcmi-namespace/" +#define NS_DYNMAN "http://lv2plug.in/ns/ext/dynmanifest#" +#define NS_DC "http://dublincore.org/documents/dcmi-namespace/" #define NEW_URI(uri) sord_new_uri(world->world, (const uint8_t*)uri) #define NEW_URI_VAL(uri) lilv_new_uri(world, (const char*)(uri)); @@ -96,11 +96,11 @@ lilv_world_new(void) assert(world->lv2_plugin_class); world->namespaces = serd_env_new(); - lilv_world_set_prefix(world, "rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"); - lilv_world_set_prefix(world, "rdfs", "http://www.w3.org/2000/01/rdf-schema#"); - lilv_world_set_prefix(world, "doap", "http://usefulinc.com/ns/doap#"); - lilv_world_set_prefix(world, "foaf", "http://xmlns.com/foaf/0.1/"); - lilv_world_set_prefix(world, "lv2", "http://lv2plug.in/ns/lv2core#"); + lilv_world_set_prefix(world, "rdf", LILV_NS_RDF); + lilv_world_set_prefix(world, "rdfs", LILV_NS_RDFS); + lilv_world_set_prefix(world, "doap", LILV_NS_DOAP); + lilv_world_set_prefix(world, "foaf", LILV_NS_FOAF); + lilv_world_set_prefix(world, "lv2", LILV_NS_LV2); lilv_world_set_prefix(world, "lv2ev", "http://lv2plug.in/ns/ext/event#"); world->n_read_files = 0; @@ -474,7 +474,7 @@ lilv_world_load_dyn_manifest(LilvWorld* world, dlclose(lib); } lilv_match_end(dmanifests); -#endif // LILV_DYN_MANIFEST +#endif // LILV_DYN_MANIFEST } LILV_API -- cgit v1.2.1