★ wanayoo — archive 1999 https://github.com/nodejs/node-addon-api/pull/659Nouvelle recherche | Portail wanayoo
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

Add ArrayBuffer::Detach() and ::IsDetached() #659

Closed
wants to merge 2 commits into from

Conversation

Copy link
Member

@tniessen tniessen commented Jan 26, 2020

I don't know what the proper guard is, seems like NAPI_EXPERIMENTAL and NAPI_VERSION are not good enough.

Refs: nodejs/node#29768
Refs: nodejs/node#30613

@legendecas
Copy link
Member

@legendecas legendecas commented Jan 26, 2020

NODE_MAJOR_VERSION can be used in tests to guards on Node.js major version so that no-back-ported Node.js release can work on CI.

Note that NODE_MAJOR_VERSION shall only be used in tests but not in napi.h and napi-inl.h.

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Mar 18, 2020

@tniessen do you need any more info to progress this?

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Jun 9, 2020

@tniessen are you still planning to work on this?

@tniessen
Copy link
Member Author

@tniessen tniessen commented Jun 10, 2020

Yes, sorry @mhdawson, I do intend to work on this. I didn't find much time recently.

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Jun 11, 2020

@tniessen np, just wanted to check in as I was doing some cleanup on the issues.

Copy link
Contributor

@gabrielschulhof gabrielschulhof left a comment

This needs a rebase, but otherwise LGTM.

Copy link
Contributor

@gabrielschulhof gabrielschulhof left a comment

Oh, wait, and documentation 🙂

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Sep 22, 2020

@tniessen ping.

@tniessen tniessen marked this pull request as ready for review Nov 5, 2020
@tniessen
Copy link
Member Author

@tniessen tniessen commented Nov 5, 2020

Sorry it took me so long to get back to this!

Copy link
Member

@mhdawson mhdawson left a comment

LGTM

@mhdawson
Copy link
Member

@mhdawson mhdawson commented Nov 5, 2020

Looks good landing

mhdawson added a commit that referenced this issue Nov 5, 2020
Refs: nodejs/node#29768
Refs: nodejs/node#30613

PR-URL: #659
Refs: nodejs/node#29768
Refs: nodejs/node#30613
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
@mhdawson
Copy link
Member

@mhdawson mhdawson commented Nov 5, 2020

Landed as c9563ca

@mhdawson mhdawson closed this Nov 5, 2020
@tniessen tniessen deleted the add-detach-functions branch Nov 5, 2020
Superlokkus added a commit to Superlokkus/node-addon-api that referenced this issue Nov 20, 2020
Refs: nodejs/node#29768
Refs: nodejs/node#30613

PR-URL: nodejs#659
Refs: nodejs/node#29768
Refs: nodejs/node#30613
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
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.

None yet

4 participants