diff options
author | David Robillard <d@drobilla.net> | 2011-01-31 16:54:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-31 16:54:11 +0000 |
commit | d394e7d292c8cc686a11a08984e2d11d704cf329 (patch) | |
tree | ff01905f19fbd0333e5c82d60a5eb4abaedb2d2f /src/value.c | |
parent | 5872789853f4daba7d558c2a42b222862b45e269 (diff) | |
download | lilv-d394e7d292c8cc686a11a08984e2d11d704cf329.tar.gz lilv-d394e7d292c8cc686a11a08984e2d11d704cf329.tar.bz2 lilv-d394e7d292c8cc686a11a08984e2d11d704cf329.zip |
Typedef away most use of librdf_node.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/value.c')
-rw-r--r-- | src/value.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/value.c b/src/value.c index f2f15b8..93fb218 100644 --- a/src/value.c +++ b/src/value.c @@ -94,14 +94,13 @@ slv2_value_new(SLV2World world, SLV2ValueType type, const char* str) } -/** Create a new SLV2Value from a librdf_node, or return NULL if impossible */ +/** Create a new SLV2Value from @a node, or return NULL if impossible */ SLV2Value slv2_value_new_librdf_node(SLV2World world, librdf_node* node) { - SLV2Value result = NULL; - - librdf_uri* datatype_uri = NULL; - SLV2ValueType type = SLV2_VALUE_STRING; + SLV2Value result = NULL; + librdf_uri* datatype_uri = NULL; + SLV2ValueType type = SLV2_VALUE_STRING; switch (librdf_node_get_type(node)) { case LIBRDF_NODE_TYPE_RESOURCE: |