summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-27 22:26:55 +0000
committerDavid Robillard <d@drobilla.net>2011-09-27 22:26:55 +0000
commit84ad1bf1317992127aac405feedbfd68c7be6697 (patch)
tree63884c6150f4b06c3faf2cdc086136fa2fde76da /sord
parent5ea6caf8ec6e06b71f14e4a8ac33b29ada7a1518 (diff)
downloadsord-84ad1bf1317992127aac405feedbfd68c7be6697.tar.gz
sord-84ad1bf1317992127aac405feedbfd68c7be6697.tar.bz2
sord-84ad1bf1317992127aac405feedbfd68c7be6697.zip
Add function sord_write_iter for writing a queried range.
git-svn-id: http://svn.drobilla.net/sord/trunk@162 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sord/sord.h b/sord/sord.h
index f76bc0e..d380da2 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -462,6 +462,16 @@ sord_write(SordModel* model,
SordNode* graph);
/**
+ Write a range to a writer.
+
+ This increments @c iter to its end, then frees it.
+*/
+SORD_API
+bool
+sord_write_iter(SordIter* iter,
+ SerdWriter* writer);
+
+/**
@}
@}
*/