mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
gresource: Clarify error docs for g_resource_enumerate_children()
Document that it returns G_RESOURCE_ERROR_NOT_FOUND if the path doesn’t exist.
This commit is contained in:
parent
6e4e1c168c
commit
7f195ac956
@ -530,6 +530,9 @@ g_resource_get_info (GResource *resource,
|
||||
* The return result is a %NULL terminated list of strings which should
|
||||
* be released with g_strfreev().
|
||||
*
|
||||
* If @path is invalid or does not exist in the #GResource,
|
||||
* %G_RESOURCE_ERROR_NOT_FOUND will be returned.
|
||||
*
|
||||
* @lookup_flags controls the behaviour of the lookup.
|
||||
*
|
||||
* Returns: (array zero-terminated=1) (transfer full): an array of constant strings
|
||||
|
Loading…
Reference in New Issue
Block a user