aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Schulhof <gabriel.schulhof@intel.com>2017-10-09 12:42:11 +0300
committerGabriel Schulhof <gabriel.schulhof@intel.com>2017-10-11 22:28:46 +0300
commit49577269e25fa2ea585d9005cff6e7167c85b258 (patch)
treea19a0ccba1ad60576ac8fd4773df84b77d3b8772 /Makefile
parentc5f54b1fad19a35dc00322181650545d2961ccc4 (diff)
downloadandroid-node-v8-49577269e25fa2ea585d9005cff6e7167c85b258.tar.gz
android-node-v8-49577269e25fa2ea585d9005cff6e7167c85b258.tar.bz2
android-node-v8-49577269e25fa2ea585d9005cff6e7167c85b258.zip
n-api: make changes for source compatibility
These changes are necessary in order to retain source compatibility with older versions of node. The removal of `module_version` from `napi_module_register()` is reverted from the flag removal PR, because it should not have been a part of it. `CallbackWrapper::NewTarget()` is renamed to `CallbackWrapper::GetNewTarget()` to distinguish it from V8's native method, thus allowing for a macro which reduces `NewTarget()` to `This()` on V8 versions where it was not yet available. `AsyncResource` is constructed with a C string rather than a V8 string because the former is available on all versions of node. PR-URL: https://github.com/nodejs/node/pull/16102 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions