references_foreach


Description:

public bool references_foreach (ReferencesCallback callback) throws Error

Gathers references and run a callback for each one.

To the callback is passed the reference and the data pointer passed to this function. If the callback returns something other than 0, the iteration will stop and throws will be set.

Parameters:

this

a Repository.

callback

a ReferencesCallback.

user_data

callback user data.

Returns:

true if there was no error, false otherwise