Skip to content

Commit 9af2862

Browse files
mhdawsonruyadorno
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 0267d27 commit 9af2862

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
@@ -4710,7 +4710,7 @@ napi_status napi_get_cb_info(napi_env env,
47104710
* `[in-out] argc`: Specifies the length of the provided `argv` array and
47114711
receives the actual count of arguments. `argc` can
47124712
optionally be ignored by passing `NULL`.
4713-
* `[out] argv`: Buffer to which the `napi_value` representing the arguments are
4713+
* `[out] argv`: C array of `napi_value`s to which the arguments will be
47144714
copied. If there are more arguments than the provided count, only the
47154715
requested number of arguments are copied. If there are fewer arguments
47164716
provided than claimed, the rest of `argv` is filled with `napi_value` values

0 commit comments

Comments
 (0)