diff options
author | David Robillard <d@drobilla.net> | 2011-01-31 00:33:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-31 00:33:19 +0000 |
commit | 8ab85a31c348a40858752a035a14ccb6df5fd6c2 (patch) | |
tree | 972c310181913bfb92776bc655cbbfa2e895eddb /src/slv2_internal.h | |
parent | a81b9cdaa2c8d6cf4fcef2472ac0dfa2ca7e47e9 (diff) | |
download | lilv-8ab85a31c348a40858752a035a14ccb6df5fd6c2.tar.gz lilv-8ab85a31c348a40858752a035a14ccb6df5fd6c2.tar.bz2 lilv-8ab85a31c348a40858752a035a14ccb6df5fd6c2.zip |
Replace a bunch of explicit use of librdf_uri (which does not have a Sord equivalent) with librdf_node (which does).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2880 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r-- | src/slv2_internal.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h index 5fab870..dd55aca 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -137,8 +137,11 @@ struct _SLV2PluginClass { SLV2Value label; }; -SLV2PluginClass slv2_plugin_class_new(SLV2World world, librdf_uri* parent_uri, - librdf_uri* uri, const char* label); +SLV2PluginClass slv2_plugin_class_new(SLV2World world, + librdf_node* parent_uri, + librdf_node* uri, + const char* label); + void slv2_plugin_class_free(SLV2PluginClass plugin_class); @@ -252,7 +255,7 @@ struct _SLV2Value { SLV2Value slv2_value_new(SLV2World world, SLV2ValueType type, const char* val); SLV2Value slv2_value_new_librdf_node(SLV2World world, librdf_node* node); -SLV2Value slv2_value_new_librdf_uri(SLV2World world, librdf_uri* uri); +SLV2Value slv2_value_new_librdf_uri(SLV2World world, librdf_node* node); librdf_uri* slv2_value_as_librdf_uri(SLV2Value value); |