Commit 1b767c1
committed
utf8_to_bytes_: Add ability to return a mortalized pv
This is a non-destructive conversion of the input into native bytes, and
with any new memory required set for destruction via SAVEFREEPV. This
allows the caller to not have to be concerned at all if memory was
created or not.
A new macro is created that calls this internal function with the
correct parameter to force this behavior.1 parent 8c15ff3 commit 1b767c1
5 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3709 | 3709 | | |
3710 | 3710 | | |
3711 | 3711 | | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
3712 | 3715 | | |
3713 | 3716 | | |
3714 | 3717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
865 | 866 | | |
866 | 867 | | |
867 | 868 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2382 | 2382 | | |
2383 | 2383 | | |
2384 | 2384 | | |
2385 | | - | |
2386 | 2385 | | |
2387 | 2386 | | |
2388 | 2387 | | |
| |||
2574 | 2573 | | |
2575 | 2574 | | |
2576 | 2575 | | |
2577 | | - | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
2578 | 2583 | | |
2579 | 2584 | | |
2580 | 2585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1324 | 1327 | | |
1325 | 1328 | | |
1326 | 1329 | | |
| |||
0 commit comments