[vala] GVariant parsing API
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] GVariant parsing API
- Date: Sun, 20 Jun 2010 18:15:35 +0000 (UTC)
commit e563f8815567bee126874d5ba7ac922a4abcc892
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Jun 20 14:15:34 2010 -0400
GVariant parsing API
vapi/glib-2.0.vapi | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 48ccff0..b8b8dc2 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3984,6 +3984,13 @@ namespace GLib {
[CCode (cname = "g_variant_iter_new")]
public VariantIter iterator ();
+
+ public static Variant parse (VariantType? type, string text, char *limit = null, char **endptr = null) throws GLib.VariantParseError;
+ public Variant.parsed (string format_string, ...);
+ }
+
+ public errordomain VariantParseError {
+ FAILED
}
[Compact]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]