commit f05ad706815ae3c0915d540f345a973fe92e838f
parent 44a6bb7a68edf9780c5683436203a9579645de81
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 21 Jul 2012 21:01:45 +1000
language is perfectly usable as a string
It's NUL-terminated, and ASCII is a subset of UTF-8 so there's no reason
we can't just treat the return value as a string.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/glibrdf.vapi b/glibrdf.vapi
@@ -444,7 +444,7 @@ namespace Rdf {
[CCode (cname = "librdf_node_get_literal_value_as_latin1")]
public uint8[]? get_literal_value_as_latin1 ();
[CCode (cname = "librdf_node_get_literal_value_language")]
- public uint8[]? get_literal_value_language (); /* ASCII result */
+ public unowned string? get_literal_value_language ();
[CCode (cname = "librdf_node_get_literal_value_is_wf_xml")]
public bool get_literal_value_is_wf_xml ();
[CCode (cname = "librdf_node_get_literal_value_datatype_uri")]