summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 05:30:10 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 05:30:10 +0000
commit87c10c7cec29665aef891e4236e748a4fbed3030 (patch)
treed3a22f2e677611c9f567fb56d86bc4e136c742fa /src/slv2_internal.h
parentd81b0c688ddb864fe6ebfee818dc1af76c7bc97b (diff)
downloadlilv-87c10c7cec29665aef891e4236e748a4fbed3030.tar.gz
lilv-87c10c7cec29665aef891e4236e748a4fbed3030.tar.bz2
lilv-87c10c7cec29665aef891e4236e748a4fbed3030.zip
librdf_new_node_from_node => slv2_node_copy.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2888 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index eba23b7..b4e919b 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -259,6 +259,9 @@ SLV2Value slv2_value_new_librdf_node(SLV2World world, librdf_node* node);
SLV2Value slv2_value_new_librdf_uri(SLV2World world, librdf_node* node);
librdf_uri* slv2_value_as_librdf_uri(SLV2Value value);
+static inline librdf_node* slv2_node_copy(librdf_node* node) {
+ return librdf_new_node_from_node(node);
+}
/* ********* Values ********* */