Skip to content

Commit

Permalink
doc: fix Napi::Reference link
Browse files Browse the repository at this point in the history
One of the links to the Napi::Reference documentation is broken.

PR-URL: nodejs/node-addon-api#365
Reviewed-By: Nicola Del Gobbo <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
wroy7860 committed Oct 21, 2018
1 parent 6e19705 commit 233250e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/object_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`Napi::ObjectReference` is a subclass of [`Napi::Reference`](reference.md), and is equivalent to an instance of `Napi::Reference<Object>`. This means that a `Napi::ObjectReference` holds a [`Napi::Object`](object.md), and a count of the number of references to that Object. When the count is greater than 0, an ObjectReference is not eligible for garbage collection. This ensures that the Object being held as a value of the ObjectReference will remain accessible, even if the original Object no longer is. However, ObjectReference is unique from a Reference since properties can be set and get to the Object itself that can be accessed through the ObjectReference.

For more general information on references, please consult [`Napi::Reference`](referenc.md).
For more general information on references, please consult [`Napi::Reference`](reference.md).

## Example
```cpp
Expand Down

0 comments on commit 233250e

Please sign in to comment.