GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}

This commit is contained in:
Ryan Lortie 2011-03-02 06:15:21 -05:00
parent 6dd692d858
commit be04e514c0
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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: