diff options
author | David Robillard <d@drobilla.net> | 2011-02-01 19:30:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-01 19:30:36 +0000 |
commit | c548e35abaf65266f2d806e375cb8e38adf705c4 (patch) | |
tree | b2f50ad0d2bff55a105c25fa6007d0a841087033 /src/sordi.c | |
parent | 07e2e5c82e533d12b902dab619a2f74970aca09b (diff) | |
download | sord-c548e35abaf65266f2d806e375cb8e38adf705c4.tar.gz sord-c548e35abaf65266f2d806e375cb8e38adf705c4.tar.bz2 sord-c548e35abaf65266f2d806e375cb8e38adf705c4.zip |
Terser iteration API.
git-svn-id: http://svn.drobilla.net/sord/trunk@14 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sordi.c')
-rw-r--r-- | src/sordi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c index 9220c54..6260879 100644 --- a/src/sordi.c +++ b/src/sordi.c @@ -138,7 +138,7 @@ main(int argc, char** argv) // Query SordTuple pat = { 0, 0, 0, 0 }; SordIter iter = sord_find(sord, pat); - for (; !sord_iter_is_end(iter); sord_iter_increment(iter)) { + for (; !sord_iter_end(iter); sord_iter_next(iter)) { SordTuple tup; sord_iter_get(iter, tup); SordNode s, p, o; |