8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c2585 commit 577f327Copy full SHA for 577f327
test/addons-napi/test_constructor/test_constructor.c
@@ -40,7 +40,7 @@ napi_value Echo(napi_env env, napi_callback_info info) {
40
41
napi_value New(napi_env env, napi_callback_info info) {
42
napi_value _this;
43
- NAPI_CALL(env, napi_get_cb_info(env, info, NULL, NULL, NULL, &_this));
+ NAPI_CALL(env, napi_get_cb_info(env, info, NULL, NULL, &_this, NULL));
44
45
return _this;
46
}