You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge the two duplicate entries for `napi_create_function()`.
Fixes: #21606
PR-URL: #21627
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
See the description of parameters:
https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_create_function
vs.
https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_create_function-1
The first one appears to be correct - it takes 6 parameters, not 5.
Might be beneficial to link from one part of the docs to the other, so that you don't have to maintain docs for this function in two places?
The text was updated successfully, but these errors were encountered: