FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Expose a proper JavaScript API for TreeEntry's `toObject` by rcjsuen · Pull Request #1272 · nodegit/nodegit · GitHub

Repository navigation

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

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

maxkorp merged 1 commit into
nodegit:masterfrom
rcjsuen:toObject

Conversation

rcjsuen commented Apr 13, 2017

Copy link
Copy Markdown
Member

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 merged commit 332e86d into nodegit:master Apr 18, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL