File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1541,7 +1541,7 @@ napi_status napi_create_string_latin1(napi_env env,
1541
1541
Returns `napi_ok` if the API succeeded.
1542
1542
1543
1543
This API creates a JavaScript `String` object from a ISO-8859-1-encoded C
1544
- string.
1544
+ string. The native string is copied.
1545
1545
1546
1546
The JavaScript `String` type is described in
1547
1547
[Section 6.1.4][] of the ECMAScript Language Specification.
@@ -1566,6 +1566,7 @@ napi_status napi_create_string_utf16(napi_env env,
1566
1566
Returns `napi_ok` if the API succeeded.
1567
1567
1568
1568
This API creates a JavaScript `String` object from a UTF16-LE-encoded C string.
1569
+ The native string is copied.
1569
1570
1570
1571
The JavaScript `String` type is described in
1571
1572
[Section 6.1.4][] of the ECMAScript Language Specification.
@@ -1590,6 +1591,7 @@ if it is null-terminated.
1590
1591
Returns `napi_ok` if the API succeeded.
1591
1592
1592
1593
This API creates a JavaScript `String` object from a UTF8-encoded C string.
1594
+ The native string is copied.
1593
1595
1594
1596
The JavaScript `String` type is described in
1595
1597
[Section 6.1.4][] of the ECMAScript Language Specification.
You can’t perform that action at this time.
0 commit comments