[vala] fix binding of GVariant parse functions
- From: Ryan Lortie <ryanl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] fix binding of GVariant parse functions
- Date: Thu, 3 Sep 2009 03:25:42 +0000 (UTC)
commit bbff83d8b2374033b289df6171ce2735e988ea22
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Sep 2 23:25:35 2009 -0400
fix binding of GVariant parse functions
vapi/glib-2.0.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index fdfa4a7..5be4d61 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3671,7 +3671,9 @@ namespace GLib {
public string print (bool type_annotate);
public StringBuilder print_string (StringBuilder ?string, bool type_annotate);
+ [CCode (cname="g_variant_parse")]
public static Variant.parse (string text, int text_length, VariantType? type) throws Error;
+ [CCode (cname="g_variant_parsef")]
public static Variant.parsef (string format_string, ...);
public string markup_print (bool newlines, int indentation, int tabstop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]