summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 00:54:04 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 00:54:04 +0000
commit577ff8d97411f7cbd6b923a76a936dc81e7e18cc (patch)
tree84faf1b6531f267fa2da43b5efeb84ff569e3e0e /src
parent228533ee26fa5ee8b33e4be61e036550fafe4239 (diff)
downloadsord-577ff8d97411f7cbd6b923a76a936dc81e7e18cc.tar.gz
sord-577ff8d97411f7cbd6b923a76a936dc81e7e18cc.tar.bz2
sord-577ff8d97411f7cbd6b923a76a936dc81e7e18cc.zip
Consistent names for node accessors.
git-svn-id: http://svn.drobilla.net/sord/trunk@32 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r--src/sord.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sord.c b/src/sord.c
index ee5ed1b..1596086 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -792,13 +792,13 @@ sord_node_get_string_counted(SordNode ref, size_t* n_bytes)
}
const char*
-sord_literal_get_lang(SordNode ref)
+sord_node_get_language(SordNode ref)
{
return ref->lang;
}
SordNode
-sord_literal_get_datatype(SordNode ref)
+sord_node_get_datatype(SordNode ref)
{
return ref->datatype;
}