Skip to content

Commit

Permalink
doc: fix up N-API doc
Browse files Browse the repository at this point in the history
PR-URL: #30656
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
  • Loading branch information
NickNaso authored and targos committed Jan 13, 2020
1 parent ffad436 commit 1c452f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4355,7 +4355,7 @@ allows them to avoid blocking overall execution of the Node.js application.
N-API provides an ABI-stable interface for these
supporting functions which covers the most common asynchronous use cases.

N-API defines the `napi_work` structure which is used to manage
N-API defines the `napi_async_work` structure which is used to manage
asynchronous workers. Instances are created/deleted with
[`napi_create_async_work`][] and [`napi_delete_async_work`][].

Expand Down Expand Up @@ -4922,7 +4922,7 @@ napiVersion: 2

```C
NAPI_EXTERN napi_status napi_get_uv_event_loop(napi_env env,
uv_loop_t** loop);
struct uv_loop_s** loop);
```

* `[in] env`: The environment that the API is invoked under.
Expand Down

0 comments on commit 1c452f0

Please sign in to comment.