GNOME Bugzilla – Bug 561617
Return value array annotations
Last modified: 2015-02-07 16:53:29 UTC
Support for missing return value array annotations, this is the gtk-doc for one: /** * gtk_recent_info_get_applications: * @info: a #GtkRecentInfo * @length: return location for the length of the returned list, or %NULL * * Retrieves the list of applications that have registered this resource. * * Return value: a newly allocated %NULL-terminated array of strings. * Use g_strfreev() to free it. * * Since: 2.10 */ gchar ** gtk_recent_info_get_applications (GtkRecentInfo *info, gsize *length) The return value is zero-terminated, but we should probably map it to length anyway, eg: Return value: (length=length): a newly allocated ...
Make that: Return value: (array length=length zero-terminated=1): ...
2008-11-21 Johan Dahlin <jdahlin@async.com.br> Bug 561617 – Return value array annotations * giscanner/transformer.py: * tests/scanner/annotation.c (annotation_return_array): * tests/scanner/annotation.h: Add support for (array) for return value annotations as well. Fixed in r957.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]