diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-08-28 15:37:45 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-09-05 07:52:47 +0200 |
| commit | a1d389570f78d5bd1fb73cd58678498461555f8e (patch) | |
| tree | 8bca3d128de9813ba392ff09fe930455f3b59c9e /sources/pyside-tools/deploy_lib/android/android_helper.py | |
| parent | 89fd464e6c56deb29d60ef295dbfbbe3b70f0303 (diff) | |
libpyside: Refactor passing slot data between @Slot and MetaObjectBuilder
The slot data required for MetaObjectBuilder were stored in a PyList
set as an attribute on a method. This required concatenating return
type and signature, converting the resulting string to CPython in the
@Slot code and converting it back to QByteArray in MetaObjectBuilder.
To simplify this, introduce a small C++ struct storing the QByteArrays
and store a list of them as a PyCapsule (encapsulating a void *ptr)
which is used as the attribute value.
Task-number: PYSIDE-748
Change-Id: I7f4075f5e828fe543d01e5dfbdc7087905cd004f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/android/android_helper.py')
0 files changed, 0 insertions, 0 deletions
