llvm-project/lldb/bindings/python
Lawrence D'Anna c8de17bca6 Fix illegal early call to PyBuffer_Release in swig typemaps
Summary:
The buffer protocol does not allow us to just call PyBuffer_Release
and assume the buffer will still be there.   Most things that implement the
buffer protocol will let us get away with that, but not all.   We need
to release it at the end of the SWIG wrapper.

Reviewers: labath, jasonmolenda, JDevlieghere, vadimcn

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77480
2020-04-07 13:31:29 -07:00
..
createPythonInit.py
python-extensions.swig
python-swigsafecast.swig
python-typemaps.swig Fix illegal early call to PyBuffer_Release in swig typemaps 2020-04-07 13:31:29 -07:00
python-wrapper.swig