diff options
author | David Robillard <d@drobilla.net> | 2016-03-17 21:38:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-03-17 21:38:31 -0400 |
commit | 2843ab1de415ccaf9be291439ca04690c1ed073f (patch) | |
tree | acfaeb4128caae51dd11482376a517bde434419c /sord | |
parent | ce981fefe0c4d4f9c871b574a92eec06e3149e3e (diff) | |
download | sord-2843ab1de415ccaf9be291439ca04690c1ed073f.tar.gz sord-2843ab1de415ccaf9be291439ca04690c1ed073f.tar.bz2 sord-2843ab1de415ccaf9be291439ca04690c1ed073f.zip |
Return NULL from sord_iter_get for end iterators
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sord.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sord/sord.h b/sord/sord.h index e93cff8..eff15af 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -559,6 +559,8 @@ sord_iter_get(const SordIter* iter, SordQuad quad); /** Return a field of the quad pointed to by `iter`. + + Returns NULL if `iter` is NULL or is at the end. */ SORD_API const SordNode* |