From: Luca Bruno Date: Sat, 14 Jun 2014 11:41:00 +0000 (+0200) Subject: glib-2.0: support Variant objv X-Git-Tag: 0.25.1~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b629226237ca0f2301da2e9e5899d56a4468012b;p=thirdparty%2Fvala.git glib-2.0: support Variant objv Fixes bug 729695 --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index a2d8a1be3..531e2129d 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);