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 24a2791 commit fdd50fbCopy full SHA for fdd50fb
doc/api/n-api.md
@@ -916,7 +916,7 @@ For example, to set a function to be returned by the `require()` for the addon:
916
napi_value Init(napi_env env, napi_value exports) {
917
napi_value method;
918
napi_status status;
919
- status = napi_create_function(env, "exports", Method, NULL, &method));
+ status = napi_create_function(env, "exports", Method, NULL, &method);
920
if (status != napi_ok) return NULL;
921
return method;
922
}