aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/generator/shiboken2/cppgenerator.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-29 08:31:38 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-30 07:32:16 +0200
commit538f897fb5829b670f42c8e45e291f85d969c5e8 (patch)
tree880ec6522ddf8bd3b79fd2c2577328ab642ad15a /sources/shiboken2/generator/shiboken2/cppgenerator.h
parent656bf562baa88d3410947177477c86f339591770 (diff)
Add an option for diagnostic output for wrappers
Print which wrappers are instantiated and what the methd cache entry contains for the virtual methods. Task-number: PYSIDE-1255 Change-Id: Ib5fd92a78a4ff1b53e373b82ade8f67b95c0dd26 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/generator/shiboken2/cppgenerator.h')
-rw-r--r--sources/shiboken2/generator/shiboken2/cppgenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/generator/shiboken2/cppgenerator.h b/sources/shiboken2/generator/shiboken2/cppgenerator.h
index aee1fb7d4..2f0219bfa 100644
--- a/sources/shiboken2/generator/shiboken2/cppgenerator.h
+++ b/sources/shiboken2/generator/shiboken2/cppgenerator.h
@@ -106,7 +106,7 @@ private:
void writeTypeDiscoveryFunction(QTextStream &s, const AbstractMetaClass *metaClass);
- static void writeSetattroDefinition(QTextStream &s, const AbstractMetaClass *metaClass);
+ void writeSetattroDefinition(QTextStream &s, const AbstractMetaClass *metaClass) const;
void writeSetattroDefaultReturn(QTextStream &s) const;
void writeSmartPointerSetattroFunction(QTextStream &s, GeneratorContext &context);
void writeSetattroFunction(QTextStream &s, AttroCheck attroCheck, GeneratorContext &context);