Skip to content

Commit 005b601

Browse files
NickNasoBethGriggs
authored andcommitted
doc: fix up N-API doc
PR-URL: #30656 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 420d793 commit 005b601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4355,7 +4355,7 @@ allows them to avoid blocking overall execution of the Node.js application.
43554355
N-API provides an ABI-stable interface for these
43564356
supporting functions which covers the most common asynchronous use cases.
43574357

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

@@ -4922,7 +4922,7 @@ napiVersion: 2
49224922

49234923
```C
49244924
NAPI_EXTERN napi_status napi_get_uv_event_loop(napi_env env,
4925-
uv_loop_t** loop);
4925+
struct uv_loop_s** loop);
49264926
```
49274927

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

0 commit comments

Comments
 (0)