Skip to content

Commit

Permalink
doc: remove usage of you in n-api doc
Browse files Browse the repository at this point in the history
We avoid using 'you' in the documentation based on our
guidelines. Remove usage in the n-api doc.

Backport-PR-URL: #19265
PR-URL: #18528
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
  • Loading branch information
mhdawson authored and MylesBorins committed May 1, 2018
1 parent 969a520 commit 7ed1dfe
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3161,11 +3161,8 @@ required in order to enable correct proper of the reference.
Afterward, additional manipulation of the wrapper's prototype chain may cause
`napi_unwrap()` to fail.

*Note*: Calling `napi_wrap()` a second time on an object that already has a
native instance associated with it by virtue of a previous call to
`napi_wrap()` will cause an error to be returned. If you wish to associate
another native instance with the given object, call `napi_remove_wrap()` on it
first.
Calling napi_wrap() a second time on an object will return an error. To associate
another native instance with the object, use napi_remove_wrap() first.

### napi_unwrap
<!-- YAML
Expand Down

0 comments on commit 7ed1dfe

Please sign in to comment.