aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-01-16 15:07:12 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-02-10 14:09:12 +0100
commit8681f3a11c458ca9b092e96bbd24e51603342d6c (patch)
tree30e2c02c325e3d5f0189782fea461b3f8c1ca95e /sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
parentf597a74e3b3eb3042c7d85dc2df813852e0c3db5 (diff)
shiboken: Refactor writing of get/setattro methods
getattro functions are needed for: - smartpointer dispatch - special cases of function overload resolution setattro functions are needed for: - smartpointer dispatch - QObject property handling All of this was previously handled in the writeSet/GetattroFunction which duplicated, inconsistent checks in various places, which makes it very hard to add additional functionality to tp_getsetattro(). To overcome this, define a flag to describe the various use cases, a check function to determine it. The flag is passed to the write functions. Smart pointer handling is split out completely since it will never mix with the other use cases. Task-number: PYSIDE-803 Change-Id: Iead9ee5b086830fb670b25917914117da62fefe5 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp')
0 files changed, 0 insertions, 0 deletions