diff options
Diffstat (limited to 'sources/shiboken6/libshiboken/helper.h')
-rw-r--r-- | sources/shiboken6/libshiboken/helper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/shiboken6/libshiboken/helper.h b/sources/shiboken6/libshiboken/helper.h index 1a2c2e29d..8221d68b0 100644 --- a/sources/shiboken6/libshiboken/helper.h +++ b/sources/shiboken6/libshiboken/helper.h @@ -115,8 +115,16 @@ struct LIBSHIBOKEN_API debugPyTypeObject const PyTypeObject *m_object; }; +struct LIBSHIBOKEN_API debugPyBuffer +{ + explicit debugPyBuffer(const Py_buffer &b); + + const Py_buffer &m_buffer; +}; + LIBSHIBOKEN_API std::ostream &operator<<(std::ostream &str, const debugPyObject &o); LIBSHIBOKEN_API std::ostream &operator<<(std::ostream &str, const debugPyTypeObject &o); +LIBSHIBOKEN_API std::ostream &operator<<(std::ostream &str, const debugPyBuffer &b); } // namespace Shiboken |