We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7b1d7e commit 2c50bcdCopy full SHA for 2c50bcd
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