From d394e7d292c8cc686a11a08984e2d11d704cf329 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 31 Jan 2011 16:54:11 +0000 Subject: Typedef away most use of librdf_node. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1 --- src/value.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/value.c') 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: -- cgit v1.2.1