Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: bundle persistent-to-local methods as class #24276

Commits on Nov 9, 2018

  1. src: bundle persistent-to-local methods as class

    Create a class `PersistentToLocal` which contains three methods,
    `Strong`, `Weak`, and `Default`:
    
    * `Strong` returns a `Local` from a strong persistent reference,
    * `Weak` returns a `Local` from a weak persistent reference, and
    * `Default` decides based on `IsWeak()` which of the above two to call.
    
    These replace `node::StrongPersistentToLocal()`,
    `node::WeakPersistentToLocal()`, and `node::PersistentToLocal()`,
    respectively.
    Gabriel Schulhof committed Nov 9, 2018
    Configuration menu
    Copy the full SHA
    475efbd View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2018

  1. move definitions to node_persistent.h

    Gabriel Schulhof committed Nov 10, 2018
    Configuration menu
    Copy the full SHA
    0021294 View commit details
    Browse the repository at this point in the history