Skip to content

Commit

Permalink
doc: clarify parameter for napi_get_cb_info
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mhdawson authored and danielleadams committed Mar 14, 2022
1 parent 639130e commit 364811a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4678,7 +4678,7 @@ napi_status napi_get_cb_info(napi_env env,
* `[in-out] argc`: Specifies the length of the provided `argv` array and
receives the actual count of arguments. `argc` can
optionally be ignored by passing `NULL`.
* `[out] argv`: Buffer to which the `napi_value` representing the arguments are
* `[out] argv`: C array of `napi_value`s to which the arguments will be
copied. If there are more arguments than the provided count, only the
requested number of arguments are copied. If there are fewer arguments
provided than claimed, the rest of `argv` is filled with `napi_value` values
Expand Down

0 comments on commit 364811a

Please sign in to comment.