Skip to content

Expose a proper JavaScript API for TreeEntry's toObject#1272

Merged
maxkorp merged 1 commit intonodegit:masterfrom
rcjsuen:toObject
Apr 18, 2017
Merged

Expose a proper JavaScript API for TreeEntry's toObject#1272
maxkorp merged 1 commit intonodegit:masterfrom
rcjsuen:toObject

Conversation

@rcjsuen
Copy link
Member

@rcjsuen rcjsuen commented Apr 13, 2017

Fix #1268 by tweaking the generated code so that it doesn't take a pointer as a parameter.

libgit2's git_tree_entry_to_object(*) function takes a pointer to
return a git_object back to the caller. We should remove this in the
generated code so that the concept of a pointer is not brought over
to the JavaScript API.
@maxkorp maxkorp merged commit 332e86d into nodegit:master Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants