gvariant: Add g_variant_get_fixed_array()

Using g_variant_new_from_data() for creating new byte arrays is non-obvious.
This patch adds a g_variant_new_fixed_array() function.

https://bugzilla.gnome.org/show_bug.cgi?id=659923
This commit is contained in:
Stef Walter
2011-09-23 10:57:55 +02:00
parent 81e395b00b
commit 5a95e19a46
5 changed files with 86 additions and 2 deletions

View File

@@ -3060,6 +3060,7 @@ g_variant_new_maybe
g_variant_new_array
g_variant_new_tuple
g_variant_new_dict_entry
g_variant_new_fixed_array
<SUBSECTION>
g_variant_get_maybe