| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 969a520 commit 7ed1dfe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3161,11 +3161,8 @@ required in order to enable correct proper of the reference. | |||
| 3161 | 3161 | Afterward, additional manipulation of the wrapper's prototype chain may cause | |
| 3162 | 3162 | `napi_unwrap()` to fail. | |
| 3163 | 3163 | ||
| 3164 | - *Note*: Calling `napi_wrap()` a second time on an object that already has a | ||
| 3165 | - native instance associated with it by virtue of a previous call to | ||
| 3166 | - `napi_wrap()` will cause an error to be returned. If you wish to associate | ||
| 3167 | - another native instance with the given object, call `napi_remove_wrap()` on it | ||
| 3168 | - first. | ||
| 3164 | + Calling napi_wrap() a second time on an object will return an error. To associate | ||
| 3165 | + another native instance with the object, use napi_remove_wrap() first. | ||
| 3169 | 3166 | ||
| 3170 | 3167 | ### napi_unwrap | |
| 3171 | 3168 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments