[glib] GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}
- Date: Fri, 4 Mar 2011 05:46:02 +0000 (UTC)
commit be04e514c05082e338b2f53f6c28687f6aa6c982
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Mar 2 06:15:21 2011 -0500
GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}
docs/reference/glib/glib-sections.txt | 1 +
glib/gvarianttype.h | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt
index c45ee67..ca512b2 100644
--- a/docs/reference/glib/glib-sections.txt
+++ b/docs/reference/glib/glib-sections.txt
@@ -2900,6 +2900,7 @@ G_VARIANT_TYPE_DICTIONARY
G_VARIANT_TYPE_STRING_ARRAY
G_VARIANT_TYPE_BYTESTRING
G_VARIANT_TYPE_BYTESTRING_ARRAY
+G_VARIANT_TYPE_VARDICT
<SUBSECTION>
G_VARIANT_TYPE
diff --git a/glib/gvarianttype.h b/glib/gvarianttype.h
index 124fa46..1fedb40 100644
--- a/glib/gvarianttype.h
+++ b/glib/gvarianttype.h
@@ -255,6 +255,14 @@ typedef struct _GVariantType GVariantType;
**/
#define G_VARIANT_TYPE_BYTESTRING_ARRAY ((const GVariantType *) "aay")
+/**
+ * G_VARIANT_TYPE_VARDICT:
+ *
+ * The type of a dictionary mapping strings to variants (the ubiquitous
+ * "a{sv}" type).
+ **/
+#define G_VARIANT_TYPE_VARDICT ((const GVariantType *) "a{sv}")
+
/**
* G_VARIANT_TYPE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]