Skip to content

Commit 543bf9d

Browse files
NickNasotargos
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 2c0f1ed commit 543bf9d

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
@@ -4380,7 +4380,7 @@ allows them to avoid blocking overall execution of the Node.js application.
43804380
N-API provides an ABI-stable interface for these
43814381
supporting functions which covers the most common asynchronous use cases.
43824382

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

@@ -4947,7 +4947,7 @@ napiVersion: 2
49474947

49484948
```C
49494949
NAPI_EXTERN napi_status napi_get_uv_event_loop(napi_env env,
4950-
uv_loop_t** loop);
4950+
struct uv_loop_s** loop);
49514951
```
49524952

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

0 commit comments

Comments
 (0)