diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-25 14:35:38 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-25 16:10:59 +0200 |
| commit | 7317f708fa00c328fb289d40630b6f517ddae98f (patch) | |
| tree | 87eb29d254041e59e26572fc66d8210770afe41a /build_scripts/platforms/unix.py | |
| parent | 73fa249c298f72548e8d728ec33aa802b1016e10 (diff) | |
Fix Python 3 deprecation warning about Buffer API
Use new buffer protocol, fixing:
sources/shiboken2/libshiboken/shibokenbuffer.cpp: In function ‘bool Shiboken::Buffer::checkType(PyObject*)’:
sources/shiboken2/libshiboken/shibokenbuffer.cpp:46:42: warning: ‘int PyObject_CheckReadBuffer(PyObject*)’ is deprecated [-Wdeprecated-declarations]
Change-Id: I3e3a403306d86c940bf1bd71fc672db6e0a2ea60
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions
