summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2010-07-30 16:41:29 -0700
committerEvan Nemerson <evan@coeus-group.com>2010-07-30 16:41:29 -0700
commit69a7ff34af41cd17716a0514c95b24602f445333 (patch)
tree4a2d824f4206311993a3005953aea6c70b6d167c
parent96dd84d13476fdcbcc3569dea16b6fc55dba4e1b (diff)
downloadvala-69a7ff34af41cd17716a0514c95b24602f445333.tar.gz
glib-2.0: Support bytestring Variants.
Fixes bug 624986.
-rw-r--r--vapi/glib-2.0.vapi9
1 files changed, 9 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 80a9ee037..5e0cda2a6 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3993,6 +3993,7 @@ namespace GLib {
public Variant.handle (int32 value);
public Variant.double (double value);
public Variant.string (string value);
+ public Variant.bytestring (string value);
public Variant.object_path (string object_path);
public static bool is_object_path (string object_path);
public Variant.signature (string signature);
@@ -4010,6 +4011,8 @@ namespace GLib {
public double get_double ();
public unowned string get_string (out size_t length = null);
public string dup_string ();
+ public unowned string get_bytestring ();
+ public string dup_bytestring ();
public Variant.strv (string[] value);
[CCode (array_length_type = "size_t")]
@@ -4017,6 +4020,12 @@ namespace GLib {
[CCode (array_length_type = "size_t")]
public string[] dup_strv ();
+ public Variant.bytestring_array (string[] value);
+ [CCode (array_length_type = "size_t")]
+ public string*[] get_bytestring_array ();
+ [CCode (array_length_type = "size_t")]
+ public string[] dup_bytestring_array ();
+
public Variant (string format, ...);
public void get (string format, ...);