GVariant: add g_variant_check_format_string()

For some time now people have been asking for a way to check for type
compatibility between GVariant instances and format strings.  There are
several APIs inside of GLib itself that would benefit from this.

This patch introduces a way to do that.
This commit is contained in:
Ryan Lortie
2012-08-18 14:12:55 -04:00
parent 6a6b64ef4d
commit 34653169e5
5 changed files with 163 additions and 1 deletions

View File

@@ -3061,6 +3061,7 @@ g_variant_classify
GVariantClass
<SUBSECTION>
g_variant_check_format_string
g_variant_get
g_variant_get_va
g_variant_new