diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-14 15:49:28 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-14 18:55:27 +0000 |
commit | 44e40c9aba1bd6f7568cb52827a8a990d0eed78d (patch) | |
tree | 7e83e8175f45c9e4f8f58929be79ce3697707210 /sources/shiboken6/ApiExtractor/abstractmetalang.h | |
parent | a6dd968379935452462b5785e937c37b3561425f (diff) |
shiboken6: Start on a cleanup of the generator code
Start moving some C++ check functions from the generators to MetaLang*.
Change-Id: I84c4ba9967b489ddf01c5cdf8919a128b76fd29c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.h b/sources/shiboken6/ApiExtractor/abstractmetalang.h index f07fdb355..dd35e9ee2 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang.h +++ b/sources/shiboken6/ApiExtractor/abstractmetalang.h @@ -321,6 +321,10 @@ public: bool deleteInMainThread() const; + // Query functions for generators + bool isObjectType() const; + bool isCopyable() const; + static AbstractMetaClass *findClass(const AbstractMetaClassList &classes, const QString &name); static AbstractMetaClass *findClass(const AbstractMetaClassList &classes, |