Skip to content

Commit

Permalink
doc: fix description for napi_get_cb_info() in n-api.md
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #44761
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
  • Loading branch information
daeyeon authored and RafaelGSS committed Sep 26, 2022
1 parent 0dadd4c commit aba9cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4731,8 +4731,8 @@ napi_status napi_get_cb_info(napi_env env,
provided than claimed, the rest of `argv` is filled with `napi_value` values
that represent `undefined`. `argv` can optionally be ignored by
passing `NULL`.
* `[out] this`: Receives the JavaScript `this` argument for the call. `this`
can optionally be ignored by passing `NULL`.
* `[out] thisArg`: Receives the JavaScript `this` argument for the call.
`thisArg` can optionally be ignored by passing `NULL`.
* `[out] data`: Receives the data pointer for the callback. `data` can
optionally be ignored by passing `NULL`.

Expand Down

0 comments on commit aba9cc2

Please sign in to comment.