summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-09 06:11:04 +0000
committerDavid Robillard <d@drobilla.net>2011-06-09 06:11:04 +0000
commit0c28ca816f7d28d8a522d41f2d6d31d0112324da (patch)
tree143963fd5f8f89424936a3479e9b7cdc8377e24a /sord
parentedcd7137e091df562f70daa1092f09d4e92f15a3 (diff)
downloadsord-0c28ca816f7d28d8a522d41f2d6d31d0112324da.tar.gz
sord-0c28ca816f7d28d8a522d41f2d6d31d0112324da.tar.bz2
sord-0c28ca816f7d28d8a522d41f2d6d31d0112324da.zip
Add sord_contains (ticket #711).
git-svn-id: http://svn.drobilla.net/sord/trunk@148 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sord/sord.h b/sord/sord.h
index 9e6110a..f76bc0e 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -356,6 +356,13 @@ SordIter*
sord_find(SordModel* model, const SordQuad pat);
/**
+ Check if @a model contains a triple pattern.
+*/
+SORD_API
+bool
+sord_contains(SordModel* model, const SordQuad pat);
+
+/**
Add a quad to a model.
*/
SORD_API