Commit 7ac491b
n-api: document that native strings are copied
Mention that a copy is made of the native string by the
napi_create_string_* APIs.
Fixes: nodejs/abi-stable-node#304
PR-URL: #20425
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>1 parent d7557e1 commit 7ac491bCopy full SHA for 7ac491b
File tree
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1541 | 1541 | |
1542 | 1542 | |
1543 | 1543 | |
1544 | | - |
| 1544 | + |
1545 | 1545 | |
1546 | 1546 | |
1547 | 1547 | |
| ||
1566 | 1566 | |
1567 | 1567 | |
1568 | 1568 | |
| 1569 | + |
1569 | 1570 | |
1570 | 1571 | |
1571 | 1572 | |
| ||
1590 | 1591 | |
1591 | 1592 | |
1592 | 1593 | |
| 1594 | + |
1593 | 1595 | |
1594 | 1596 | |
1595 | 1597 | |
|
0 commit comments