Thanks to visit codestin.com Credit goes to libgit2.org
Creates a new iterator for notes from a commit
The iterator must be freed manually by the user.
pointer to the iterator
a pointer to the notes commit object
0 or an error code