glibrdf

GLib wrapper for the Redland RDF library
git clone https://code.djc.id.au/git/glibrdf/
commit 1133e45ffaa725e2e7de1ec2032c349848871552
parent 45ff5c082646e750abfa994d9c1e9e5d4072fb66
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon, 14 Jan 2013 19:45:11 +1000

get_{source,arc,target} can return null to indicate nothing found

Diffstat:
Mglibrdf.vapi | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/glibrdf.vapi b/glibrdf.vapi
@@ -308,11 +308,11 @@ namespace Rdf {
 		[CCode (cname = "librdf_model_get_targets")]
 		public Iterator? get_targets (Node source, Node arc);
 		[CCode (cname = "librdf_model_get_source")]
-		public Node get_source (Node arc, Node target);
+                public Node? get_source (Node arc, Node target);
 		[CCode (cname = "librdf_model_get_arc")]
-		public Node get_arc (Node source, Node target);
+                public Node? get_arc (Node source, Node target);
 		[CCode (cname = "librdf_model_get_target")]
-		public Node get_target (Node source, Node arc);
+                public Node? get_target (Node source, Node arc);
 
 		[CCode (cname = "librdf_model_get_arcs_in")]
 		public Iterator? get_arcs_in (Node node);