mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: clarify parameter for napi_get_cb_info
Refs: https://github.com/nodejs/help/issues/3698 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/41635 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user