Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1c452f0

Browse filesBrowse 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 ffad436 commit 1c452f0
Copy full SHA for 1c452f0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.