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 364811a

Browse filesBrowse files
mhdawsondanielleadams
authored andcommitted
doc: clarify parameter for napi_get_cb_info
Refs: nodejs/help#3698 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #41635 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 639130e commit 364811a
Copy full SHA for 364811a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
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
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4678,7 +4678,7 @@ napi_status napi_get_cb_info(napi_env env,
46784678
* `[in-out] argc`: Specifies the length of the provided `argv` array and
46794679
receives the actual count of arguments. `argc` can
46804680
optionally be ignored by passing `NULL`.
4681-
* `[out] argv`: Buffer to which the `napi_value` representing the arguments are
4681+
* `[out] argv`: C array of `napi_value`s to which the arguments will be
46824682
copied. If there are more arguments than the provided count, only the
46834683
requested number of arguments are copied. If there are fewer arguments
46844684
provided than claimed, the rest of `argv` is filled with `napi_value` values

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.