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: guard CallbackScope with N-API v3 #395

Closed
wants to merge 1 commit into from

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Nov 12, 2018

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

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.
Copy link
Member

@NickNaso NickNaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NickNaso
Copy link
Member

@mhdawson I tested and worked good for me.

@mhdawson
Copy link
Member Author

@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?

@NickNaso
Copy link
Member

@mhdawson Yes I can do a release after this fix will be landed. And I provide to open issue right now.

@NickNaso NickNaso mentioned this pull request Nov 13, 2018
2 tasks
@mhdawson
Copy link
Member Author

Going to land this as there have been no objections and I think people believe its important to get a fix out relatively quickly.

mhdawson added a commit that referenced this pull request Nov 13, 2018
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>
@mhdawson
Copy link
Member Author

landed as d47399f

@mhdawson mhdawson closed this Nov 13, 2018
kevindavies8 added a commit to kevindavies8/node-addon-api-Develop that referenced this pull request Aug 24, 2022
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>
Marlyfleitas added a commit to Marlyfleitas/node-api-addon-Development that referenced this pull request Aug 26, 2022
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>
wroy7860 added a commit to wroy7860/addon-api-benchmark-node that referenced this pull request Sep 19, 2022
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>
johnfrench3 pushed a commit to johnfrench3/node-addon-api-git that referenced this pull request Aug 11, 2023
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants