[vala] glib-2.0: support Variant objv



commit b629226237ca0f2301da2e9e5899d56a4468012b
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Jun 14 13:41:00 2014 +0200

    glib-2.0: support Variant objv
    
    Fixes bug 729695

 vapi/glib-2.0.vapi |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index a2d8a1b..531e212 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4926,6 +4926,18 @@ namespace GLib {
                [CCode (array_length_type = "size_t")]
                public string[] dup_bytestring_array ();
 
+               #if GLIB_2_30
+               public Variant.objv (string[] value);
+               [CCode (array_length_type = "size_t")]
+               #if VALA_0_26
+               public (unowned string)[] get_objv ();
+               #else
+               public string*[] get_objv ();
+               #endif
+               [CCode (array_length_type = "size_t")]
+               public string[] dup_objv ();
+               #endif
+
                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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]