diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystem.h')
-rw-r--r-- | sources/shiboken2/ApiExtractor/typesystem.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem.h b/sources/shiboken2/ApiExtractor/typesystem.h index 721d19f29..b0144923a 100644 --- a/sources/shiboken2/ApiExtractor/typesystem.h +++ b/sources/shiboken2/ApiExtractor/typesystem.h @@ -308,6 +308,10 @@ struct Modification return removal != TypeSystem::NoLanguage; } +#ifndef QT_NO_DEBUG_STREAM + void formatDebug(QDebug &d) const; +#endif + QString renamedToName; uint modifiers = 0; TypeSystem::Language removal = TypeSystem::NoLanguage; @@ -351,6 +355,10 @@ struct FunctionModification: public Modification QString toString() const; +#ifndef QT_NO_DEBUG_STREAM + void formatDebug(QDebug &d) const; +#endif + QString association; CodeSnipList snips; @@ -365,6 +373,13 @@ private: TypeSystem::ExceptionHandling m_exceptionHandling = TypeSystem::ExceptionHandling::Unspecified; }; +#ifndef QT_NO_DEBUG_STREAM +QDebug operator<<(QDebug d, const ReferenceCount &); +QDebug operator<<(QDebug d, const ArgumentOwner &a); +QDebug operator<<(QDebug d, const ArgumentModification &a); +QDebug operator<<(QDebug d, const FunctionModification &fm); +#endif + struct FieldModification: public Modification { bool isReadable() const |