Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 00b4b7bb97c8
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: bdc7251b64bf
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Jan 25, 2013

  1. addon: Pass module object to NODE_MODULE init function

    mainly to allow native addons to export single functions on
    rather than being restricted to operating on an existing
    object.
    
    Init functions now receive exports as the first argument, like
    before, but also the module object as the second argument, if they
    support it.
    
    Related to #4634
    
    cc: @rvagg
    isaacs committed Jan 25, 2013
    1
    Copy the full SHA
    1550858 View commit details
    Browse the repository at this point in the history
  2. doc: NODE_MODULE() to pass full module to addons

    mainly to allow native addons to export single functions on `exports`
    rather than being restricted to operating on an existing `exports`
    object.
    
    added link to addons repo in docs
    rvagg authored and isaacs committed Jan 25, 2013
    Copy the full SHA
    f210710 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    bdc7251 View commit details
    Browse the repository at this point in the history