[vala] GVariant binding: bind g_variant_{get,new}_va
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] GVariant binding: bind g_variant_{get,new}_va
- Date: Wed, 2 Mar 2011 07:09:39 +0000 (UTC)
commit 0ec3e324eddffc54a7edade59e4a89a31b5b6607
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Mar 2 02:08:57 2011 -0500
GVariant binding: bind g_variant_{get,new}_va
I didn't bind these because I didn't know that it was possible to use
va_list from Vala. It is, so bind them.
vapi/glib-2.0.vapi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 0aac9d8..c9d7820 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4423,7 +4423,10 @@ namespace GLib {
public string[] dup_bytestring_array ();
public Variant (string format, ...);
+ // note: the function changes its behaviour when end_ptr is null, so 'out char *' is wrong
+ public Variant.va (string format, char **end_ptr, va_list *app);
public void get (string format, ...);
+ public void get_va (string format, char **end_ptr, va_list *app);
public Variant.variant (Variant value);
public Variant.maybe (VariantType? child_type, Variant? child);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]