Skip to content

Commit f263340

Browse files
mhdawsonaddaleax
authored andcommittedMay 14, 2018
doc: fix signature for napi_create_range_error
Fixes: #20623 PR-URL: #20641 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent e61337d commit f263340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ This API returns a JavaScript `TypeError` with the text provided.
471471
added: v8.0.0
472472
-->
473473
```C
474-
NODE_EXTERN napi_status napi_create_range_error(napi_env env,
474+
NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
475475
napi_value code,
476-
const char* msg,
476+
napi_value msg,
477477
napi_value* result);
478478
```
479479
- `[in] env`: The environment that the API is invoked under.

0 commit comments

Comments
 (0)
Please sign in to comment.