Commit 0c67f21b authored by Michael Dawson's avatar Michael Dawson Committed by Myles Borins
Browse files

doc: update to use NAPI_AUTO_LENGTH

Update so that doc says to use NAPI_AUTO_LENGTH instead
of -1 to indicate null terminate string.

Backport-PR-URL: https://github.com/nodejs/node/pull/19447
PR-URL: https://github.com/nodejs/node/pull/16187


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 5c2bba09
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment