aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetabuilder.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-01-17 13:27:40 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-01-17 19:05:12 +0100
commit676c6641d1bda430876e49c92d7814b60b35f885 (patch)
tree27ae1286ed23bf4db9eb0bc95197f95d4fbc3500 /sources/shiboken6/ApiExtractor/abstractmetabuilder.h
parent897e04fa431d8dc0385007862b4a619d5d0aac0c (diff)
shiboken6: Pass more generator options to the api extractor
Introduce flags representing generator options and pass AvoidProtectedHack besides UsePySideExtensions. Move AvoidProtectedHack to the Generator base class for this purpose. Pick-to: 6.2 Change-Id: I170b5ace30057c4074d73afce3f88d086eb54775 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetabuilder.h')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetabuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetabuilder.h b/sources/shiboken6/ApiExtractor/abstractmetabuilder.h
index c3e427965..c52280958 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetabuilder.h
+++ b/sources/shiboken6/ApiExtractor/abstractmetabuilder.h
@@ -30,6 +30,7 @@
#define ABSTRACTMETABUILDER_H
#include "abstractmetalang_typedefs.h"
+#include "apiextractorflags.h"
#include "header_paths.h"
#include "typesystem_enums.h"
@@ -73,6 +74,7 @@ public:
const QHash<const TypeEntry *, AbstractMetaEnum> &typeEntryToEnumsHash() const;
bool build(const QByteArrayList &arguments,
+ ApiExtractorFlags apiExtractorFlags = {},
bool addCompilerSupportArguments = true,
LanguageLevel level = LanguageLevel::Default,
unsigned clangFlags = 0);