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: make process.dlopen() load well-known symbol #18934

Merged
merged 2 commits into from
Mar 1, 2018

Commits on Mar 1, 2018

  1. src: clean up process.dlopen()

    Move some code around and clean up the DLib helper class as prep work
    for a follow-up commit.
    
    PR-URL: nodejs#18934
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    6631522 View commit details
    Browse the repository at this point in the history
  2. src: make process.dlopen() load well-known symbol

    Look for symbol `node_register_module_v${NODE_MODULE_VERSION}` if the
    add-on didn't self-register.  This can be used to create add-ons that
    support multiple Node.js versions from a single shared object.
    
    PR-URL: nodejs#18934
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    3828fc6 View commit details
    Browse the repository at this point in the history