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 ruyadorno committed Feb 7, 2022
1 parent 0267d27 commit 9af2862
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 @@ -4710,7 +4710,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 9af2862

Please sign in to comment.