diff options
Diffstat (limited to 'src/value.c')
-rw-r--r-- | src/value.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/value.c b/src/value.c index 6117528..6714ff9 100644 --- a/src/value.c +++ b/src/value.c @@ -310,12 +310,11 @@ slv2_value_as_uri(SLV2Value value) } -/* private */ -librdf_uri* -slv2_value_as_librdf_uri(SLV2Value value) +SLV2Node +slv2_value_as_node(SLV2Value value) { assert(slv2_value_is_uri(value)); - return librdf_node_get_uri(value->val.uri_val); + return value->val.uri_val; } |