From 0b04f70d827a850ca5e779819095766194cd0e94 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Apr 2011 00:49:35 +0000 Subject: 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 --- serd/serd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index 6865a1c7..91dbb15c 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -297,6 +297,13 @@ SERD_API 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. */ -- cgit v1.2.1