-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.
Description
Function napi_create_range_error in documentation has prototype:
NODE_EXTERN napi_status napi_create_range_error(napi_env env,
napi_value code,
const char* msg,
napi_value* result);where msg has type const char*. But according to node_api.h the prototype should be:
NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
napi_value code,
napi_value msg,
napi_value* result);with msg having type napi_value.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.