/* Returns: (transfer full): a #GSocketAddress (owned by the caller), or NULL on error (in which case *@error will be set) or if there are no more addresses.  */
GSocketAddress* g_socket_address_enumerator_next(GSocketAddressEnumerator *enumerator, GCancellable *cancellable, GError **error)
/* Returns: (transfer full): a #GSocketAddress (owned by the caller), or NULL on error (in which case *@error will be set) or if there are no more addresses.  */
GSocketAddress* g_socket_address_enumerator_next(GSocketAddressEnumerator *enumerator, GCancellable *cancellable, GError **error)
{
  GSocketAddressEnumeratorClass *klass;
  g_return_val_if_fail (G_IS_SOCKET_ADDRESS_ENUMERATOR (enumerator), NULL);
  klass = G_SOCKET_ADDRESS_ENUMERATOR_GET_CLASS (enumerator);
  return (* klass->next) (enumerator, cancellable, error);
}