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

doc: add blurb about SetInstanceData #1100

Conversation

gabrielschulhof
Copy link
Contributor

Add a blurb explaining that using Napi::Addon<T> entails avoiding the
use of Napi::Env::SetInstanceData().

Fixes: #1097

Add a blurb explaining that using `Napi::Addon<T>` entails avoiding the
use of `Napi::Env::SetInstanceData()`.

Fixes: nodejs#1097
@gabrielschulhof gabrielschulhof merged commit 5aab27e into nodejs:main Nov 12, 2021
@gabrielschulhof gabrielschulhof deleted the 1097-document-addon-SetInstanceData branch November 12, 2021 16:06
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.

Is it safe to use Napi::Addon and Napi::ObjectWrap together?
4 participants