[vala] glib-2.0: Support bytestring Variants.
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Support bytestring Variants.
- Date: Fri, 30 Jul 2010 23:42:34 +0000 (UTC)
commit 69a7ff34af41cd17716a0514c95b24602f445333
Author: Michael Terry <michael terry canonical com>
Date: Fri Jul 30 16:41:29 2010 -0700
glib-2.0: Support bytestring Variants.
Fixes bug 624986.
vapi/glib-2.0.vapi | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 80a9ee0..5e0cda2 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, ...);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]