diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-11-21 17:42:41 +0100 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-11-28 21:31:22 +0100 |
commit | c78302ce7b33e7353bf0bc9272c86956841cb49a (patch) | |
tree | aee0f86510984415b43180d08cc6cbe7a662649f /gir | |
parent | bdb479f3663d284e1a785f603f17670a754d0bbf (diff) | |
download | gobject-introspection-c78302ce7b33e7353bf0bc9272c86956841cb49a.tar.gz |
giscanner: implement DocOption() in terms of odict instead of dict
The order of the "options" key/value pairs returned by
DocOption().all() should be identical to the order in
which they where stored. Hence replace the dict usage
with odict.
https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'gir')
-rw-r--r-- | gir/glib-2.0.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index 1499a6de..51805c44 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -16894,7 +16894,7 @@ * returned array is %NULL-terminated, so @length may optionally * be %NULL. * - * Returns: (array length=length zero-terminated=1) (element-type utf8) (transfer full): a newly allocated %NULL-terminated string array or %NULL if the key isn't found. The string array should be freed with g_strfreev(). + * Returns: (array zero-terminated=1 length=length) (element-type utf8) (transfer full): a newly allocated %NULL-terminated string array or %NULL if the key isn't found. The string array should be freed with g_strfreev(). * Since: 2.6 */ @@ -16946,7 +16946,7 @@ * event that the @group_name cannot be found, %NULL is returned * and @error is set to #G_KEY_FILE_ERROR_GROUP_NOT_FOUND. * - * Returns: (array length=length zero-terminated=1) (element-type utf8) (transfer full): a %NULL-terminated string array or %NULL if the specified key cannot be found. The array should be freed with g_strfreev(). + * Returns: (array zero-terminated=1 length=length) (element-type utf8) (transfer full): a %NULL-terminated string array or %NULL if the specified key cannot be found. The array should be freed with g_strfreev(). * Since: 2.6 */ @@ -17316,7 +17316,7 @@ * @group_name: a group name * @key: a key * @locale: a locale identifier - * @list: (array length=length zero-terminated=1): a %NULL-terminated array of locale string values + * @list: (array zero-terminated=1 length=length): a %NULL-terminated array of locale string values * @length: the length of @list * * Associates a list of string values for @key and @locale under @@ -17349,7 +17349,7 @@ * @key_file: a #GKeyFile * @group_name: a group name * @key: a key - * @list: (array length=length zero-terminated=1) (element-type utf8): an array of string values + * @list: (array zero-terminated=1 length=length) (element-type utf8): an array of string values * @length: number of string values in @list * * Associates a list of string values for @key under @group_name. @@ -30725,7 +30725,7 @@ * * The return value must be freed using g_free(). * - * Returns: (transfer full) (array length=length zero-terminated=1) (element-type guint8): a newly allocated string + * Returns: (transfer full) (array zero-terminated=1 length=length) (element-type guint8): a newly allocated string * Since: 2.26 */ |