aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-24 00:49:35 +0000
committerDavid Robillard <d@drobilla.net>2011-04-24 00:49:35 +0000
commit0b04f70d827a850ca5e779819095766194cd0e94 (patch)
treeef44ac656c1f2a8f4687fe6ef5bdb594c30c156d /serd
parent2824ef300111f198132de215b57376587851cbd7 (diff)
downloadserd-0b04f70d827a850ca5e779819095766194cd0e94.tar.gz
serd-0b04f70d827a850ca5e779819095766194cd0e94.tar.bz2
serd-0b04f70d827a850ca5e779819095766194cd0e94.zip
Fix reader memory stack use and verify read_object fully clears its stack.
Make abbreviation in writer not assume equivalent nodes have equivalent addresses (abbreviate more than on input if triples are sorted correctly, e.g. abbrevate ntriples) git-svn-id: http://svn.drobilla.net/serd/trunk@149 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 6865a1c7..91dbb15c 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -298,6 +298,13 @@ SerdNode
serd_node_copy(const SerdNode* node);
/**
+ Return true iff @a a is equal to @a b.
+*/
+SERD_API
+bool
+serd_node_equals(const SerdNode* a, const SerdNode* b);
+
+/**
Simple wrapper for serd_node_new_uri to resolve a URI node.
*/
SERD_API