diff options
author | David Robillard <d@drobilla.net> | 2011-02-16 00:43:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-16 00:43:58 +0000 |
commit | 228533ee26fa5ee8b33e4be61e036550fafe4239 (patch) | |
tree | 86340a4bc225e21197c79a16e167a92cd204d159 /src/syntax.c | |
parent | 9bcc1bf6088ed17d0a753ebf41c989af4d0e71eb (diff) | |
download | sord-228533ee26fa5ee8b33e4be61e036550fafe4239.tar.gz sord-228533ee26fa5ee8b33e4be61e036550fafe4239.tar.bz2 sord-228533ee26fa5ee8b33e4be61e036550fafe4239.zip |
Remove pointless SordID type.
git-svn-id: http://svn.drobilla.net/sord/trunk@31 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index 911f70a..c06882a 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -92,7 +92,7 @@ event_prefix(void* handle, return true; } -static inline SordID +static inline SordNode sord_node_from_serd_node(ReadState* state, const SerdNode* sn) { switch (sn->type) { @@ -104,7 +104,7 @@ sord_node_from_serd_node(ReadState* state, const SerdNode* sn) SerdURI abs_uri; SerdNode abs_uri_node = serd_node_new_uri_from_node( sn, &state->base_uri, &abs_uri); - SordID ret = sord_get_uri(state->sord, true, abs_uri_node.buf); + SordNode ret = sord_get_uri(state->sord, true, abs_uri_node.buf); serd_node_free(&abs_uri_node); return ret; } @@ -120,7 +120,7 @@ sord_node_from_serd_node(ReadState* state, const SerdNode* sn) memcpy(buf, uri_prefix.buf, uri_prefix.len); memcpy(buf + uri_prefix.len, uri_suffix.buf, uri_suffix.len); buf[uri_len] = '\0'; - SordID ret = sord_get_uri_counted(state->sord, true, + SordNode ret = sord_get_uri_counted(state->sord, true, buf, uri_prefix.len + uri_suffix.len); free(buf); return ret; |