libgit2

git_note_commit_iterator_new

Version:

Creates a new iterator for notes from a commit

The iterator must be freed manually by the user.

Signature

int git_note_commit_iterator_new(git_note_iterator **out, git_commit *notes_commit);

Parameters

In
out

pointer to the iterator

In
notes_commit

a pointer to the notes commit object

Returns

int

0 or an error code

Versions