We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0933bcf commit 68b51b3Copy full SHA for 68b51b3
doc/api/n-api.md
@@ -60,7 +60,7 @@ if (status != napi_ok) {
60
return;
61
}
62
63
-status = napi_crate_string_utf8(env, "bar", NAPI_AUTO_LENGTH, &string);
+status = napi_create_string_utf8(env, "bar", NAPI_AUTO_LENGTH, &string);
64
if (status != napi_ok) {
65
napi_throw_error(env, ...);
66
0 commit comments