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

Refactoring how internal C objects are stored in V8 and passed to JS · Issue #240 · nodegit/nodegit · GitHub

Repository navigation

Refactoring how internal C objects are stored in V8 and passed to JS #240

Description

This change is from the awesome example that was in #239.

So basically, each V8 wrapper object will need to store all of the objects that it's C object has in it's own private wrapper object. Any getters/setters for these objects will have to unwrap these private variables to access the internal data.

We can't just create wrapper classes on the fly when the user requests data since when those wrapper classes are destroyed they also destroy the data that they wrapped.

I'm assigning @maxkorp to take care of this. If you have any questions feel free to ask.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL