diff options
author | Jason Ginchereau <jasongin@microsoft.com> | 2017-09-10 00:04:35 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-09-14 18:39:05 +0300 |
commit | 1a0727d85ef09845cd0eda0f2303066a6a0aa054 (patch) | |
tree | b26c26be84daf80c3d93be46c7cba93d6eff5589 /src/node_api.h | |
parent | 2509c3478278e7a48f1f11f48eb4bc8562f1f110 (diff) |
n-api: change async resource name to napi_value
PR-URL: https://github.com/nodejs/node/pull/14697
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_api.h')
-rw-r--r-- | src/node_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_api.h b/src/node_api.h index 227f26a2ffb..b127fd7fe80 100644 --- a/src/node_api.h +++ b/src/node_api.h @@ -525,7 +525,7 @@ NAPI_EXTERN napi_status napi_get_dataview_info(napi_env env, NAPI_EXTERN napi_status napi_create_async_work(napi_env env, napi_value async_resource, - const char* async_resource_name, + napi_value async_resource_name, napi_async_execute_callback execute, napi_async_complete_callback complete, void* data, |