Skip to content

Commit 364811a

Browse files
mhdawsondanielleadams
authored andcommitted
doc: clarify parameter for napi_get_cb_info
Refs: nodejs/help#3698 Signed-off-by: Michael Dawson <[email protected]> PR-URL: #41635 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 639130e commit 364811a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/n-api.md

+1-1
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)