-
Notifications
You must be signed in to change notification settings - Fork 459
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: guard CallbackScope with N-API v3 #395
Conversation
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mhdawson I tested and worked good for me. |
@nodejs/addon-api @nodejs/abi-stable-node any objections to fast tracking this ? @NickNaso would you be able to do a release in a day or two after this lands? |
@mhdawson Yes I can do a release after this fix will be landed. And I provide to open issue right now. |
Going to land this as there have been no objections and I think people believe its important to get a fix out relatively quickly. |
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures. PR-URL: #395 Fixes: #387 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
landed as d47399f |
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures. PR-URL: nodejs/node-addon-api#395 Fixes: nodejs/node-addon-api#387 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures. PR-URL: nodejs/node-addon-api#395 Fixes: nodejs/node-addon-api#387 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures. PR-URL: nodejs/node-addon-api#395 Fixes: nodejs/node-addon-api#387 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
CallbackScope support needs to be guarded with N-API version 3, otherwise olders versions of N-API that did not have CallbackScope support will have compile failures. PR-URL: nodejs/node-addon-api#395 Fixes: nodejs/node-addon-api#387 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
CallbackScope support needs to be guarded
with N-API version 3, otherwise older versions
of N-API that did not have CallbackScope
support will have compile failures.
Fixes: #387