/* Returns: (transfer full) (element-type Gio.FileInfo): a #GList of #GFileInfos. You must free the list with g_list_free() and unref the infos with g_object_unref() when you're done with them.  */
GList* g_file_enumerator_next_files_finish(GFileEnumerator *enumerator, GAsyncResult *result, GError **error)
/* Returns: (transfer full) (element-type Gio.FileInfo): a #GList of #GFileInfos. You must free the list with g_list_free() and unref the infos with g_object_unref() when you're done with them.  */
GList* g_file_enumerator_next_files_finish(GFileEnumerator *enumerator, GAsyncResult *result, GError **error)
{
  GFileEnumeratorClass *class;
  g_return_val_if_fail (G_IS_FILE_ENUMERATOR (enumerator), NULL);
  g_return_val_if_fail (G_IS_ASYNC_RESULT (result), NULL);
  if (g_async_result_legacy_propagate_error (result, error))
    return NULL;
  else if (g_async_result_is_tagged (result, g_file_enumerator_next_files_async))
    return g_task_propagate_pointer (G_TASK (result), error);
  class = G_FILE_ENUMERATOR_GET_CLASS (enumerator);
  return class->next_files_finish (enumerator, result, error);
}