next_n


Description:

public List<Object> next_n (int max_objects, Cancellable? cancellable = null) throws Error

Get the next set of objects from the enumerator.

The maximum number of objects can be specified with max_objects. If -1 is specified, then all the remaining objects will be returned.

null is also returned if the function fails. Use the error to determine whether a failure occurred or not.

Parameters:

this

An enumerator

max_objects

The maximum amount of objects to enumerate

cancellable

A Cancellable or null

Returns:

A list of objects, which should be freed using gck_list_unref_free.