Skip to content
Closed

Fixdoc1 #20641

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: fix signature for napi_create_range_error
Fixes: #20623
  • Loading branch information
mhdawson committed May 9, 2018
commit 0a091fbddfa5b20500a24b00875d7bd8d668fd96
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