diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-18 09:50:55 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-19 21:38:55 +0200 |
commit | 2d174a7fa78944b094ff7056454236b4560c0092 (patch) | |
tree | 1dfe3f9dac5c525cfa7e12578e7c00effb039051 /examples/scriptableapplication/pythonutils.cpp | |
parent | 40b06f4998509252356c0104981685fe5cd57bc9 (diff) |
shiboken2: Refactor wrapper method generation
For virtual functions, the code injection for shell/beginning
was not written to the shortcut path added by
50f382579d1323817165d85bf88a394328a4e9a0 (when the method cache
is set, indicating there is no python override).
Factor out the code into a separate function. As a drive by,
actually generate the (hiterto unimplemented) shell/end
injection at least for void functions.
Task-number: PYSIDE-803
Task-number: PYSIDE-1282
Change-Id: If56f839d414bf7364fdf6af5f3f0d5a76a5fc434
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions