Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: clarify parameter for napi_get_cb_info
Refs: nodejs/help#3698

Signed-off-by: Michael Dawson <mdawson@devrus.com>
  • Loading branch information
mhdawson committed Jan 24, 2022
commit 7b8b4796fb8249f42b1ed53b0381d294c8c91fa1
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