diff options
-rw-r--r-- | sources/shiboken6/ApiExtractor/textstream.cpp | 10 | ||||
-rw-r--r-- | sources/shiboken6/ApiExtractor/textstream.h | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/textstream.cpp b/sources/shiboken6/ApiExtractor/textstream.cpp index 55dc89290..f3b2dd13f 100644 --- a/sources/shiboken6/ApiExtractor/textstream.cpp +++ b/sources/shiboken6/ApiExtractor/textstream.cpp @@ -154,6 +154,11 @@ void TextStream::putString(QStringView v) } } +void TextStream::putChar(QChar c) +{ + putCharHelper(c); +} + void TextStream::putString(const char *s) { const char firstChar = *s; @@ -169,6 +174,11 @@ void TextStream::putString(const char *s) } } +void TextStream::putChar(char c) +{ + putCharHelper(c); +} + void TextStream::putInt(int t) { checkIndent(CharClass::Other); diff --git a/sources/shiboken6/ApiExtractor/textstream.h b/sources/shiboken6/ApiExtractor/textstream.h index 991965094..3e66fbf12 100644 --- a/sources/shiboken6/ApiExtractor/textstream.h +++ b/sources/shiboken6/ApiExtractor/textstream.h @@ -91,9 +91,9 @@ public: QChar lastChar() const; void putString(QStringView v); - void putChar(QChar c) { putCharHelper(c); } + void putChar(QChar c); void putString(const char *s); - void putChar(char c) { putCharHelper(c); } + void putChar(char c); void putInt(int t); void putSizeType(qsizetype t); |