Skip to content

Commit

Permalink
doc: fix signature for napi_create_range_error
Browse files Browse the repository at this point in the history
Fixes: #20623

PR-URL: #20641
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
mhdawson authored and addaleax committed May 14, 2018
1 parent 1248ce1 commit 7dcfe72
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 @@ -471,9 +471,9 @@ This API returns a JavaScript `TypeError` with the text provided.
added: v8.0.0
-->
```C
NODE_EXTERN napi_status napi_create_range_error(napi_env env,
NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
napi_value code,
const char* msg,
napi_value msg,
napi_value* result);
```
- `[in] env`: The environment that the API is invoked under.
Expand Down

0 comments on commit 7dcfe72

Please sign in to comment.