summaryrefslogtreecommitdiff
path: root/src/node_api_types.h
diff options
context:
space:
mode:
authorTaylor Woll <taylor.woll@microsoft.com>2017-08-30 02:48:41 -0700
committerMichael Dawson <mdawson@devrus.com>2017-09-14 15:02:10 -0400
commit92e5f5cc09fdbf223a418aef1154b2b75b3f9dcd (patch)
tree86f3b8071340f5ef9ecd1f07796c23248a1d06b6 /src/node_api_types.h
parentd195a069b697d4cfc41f09037471908089cbd98f (diff)
downloadandroid-node-v8-92e5f5cc09fdbf223a418aef1154b2b75b3f9dcd.tar.gz
android-node-v8-92e5f5cc09fdbf223a418aef1154b2b75b3f9dcd.tar.bz2
android-node-v8-92e5f5cc09fdbf223a418aef1154b2b75b3f9dcd.zip
n-api: refactor napi_addon_register_func
As per discussion in abi-stable-node: https://github.com/nodejs/abi-stable-node/issues/256, take a refactor to napi_addon_register_func such that the result from the register function is assigned to the module exports property. By making this change, native module can be agnostic about which type of module the environment supports. PR-URL: https://github.com/nodejs/node/pull/15088 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Diffstat (limited to 'src/node_api_types.h')
0 files changed, 0 insertions, 0 deletions