diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-29 17:07:27 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-30 11:45:02 +0200 |
| commit | e19a6a9aac1a2ddc9724361a148b4e9542f4e4b6 (patch) | |
| tree | fefe18ed95c0f6e0a94bb7768c8b4843cbdd166f /sources/pyside6/doc/tutorials/qmlintegration/main.py | |
| parent | 5413343de9f546e4c177a062e21e1e1ab7c76ae5 (diff) | |
Limited API: Add a fast path to _PepUnicode_AsString()
Add a helper that returns the char * UTF-8 data from a
PyUnicode object without triggering conversions.
Change _PepUnicode_AsString() to return const char *
to match Python 3 on this occasion.
[ChangeLog][shiboken6] A fast path for converting
Python string to UTF-8 has been added to the limited API.
Change-Id: I619933633e226525fc248b27fd42cd1ce5178be0
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlintegration/main.py')
0 files changed, 0 insertions, 0 deletions
