diff options
Diffstat (limited to 'sources/shiboken6/generator/generator.h')
-rw-r--r-- | sources/shiboken6/generator/generator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken6/generator/generator.h b/sources/shiboken6/generator/generator.h index 62c5e5aeb..6d10dcb1f 100644 --- a/sources/shiboken6/generator/generator.h +++ b/sources/shiboken6/generator/generator.h @@ -241,6 +241,9 @@ public: /// Returns true if the user enabled PySide extensions (command line option) bool usePySideExtensions() const; + /// Returns true if the generated code should not use the + /// "#define protected public" hack. + bool avoidProtectedHack() const; /** * Retrieves the name of the currently processed module. |