Move Py_buffer_RAII to .h file so SWIG 2 doesnt have to parse it
authorAntónio Afonso <antonio.afonso@gmail.com>
Sat, 22 Aug 2020 17:43:02 +0000 (10:43 -0700)
committerAntónio Afonso <antonio.afonso@gmail.com>
Sat, 22 Aug 2020 17:43:50 +0000 (10:43 -0700)
commit5d8eedee917de2d39d1c485d07a30f8649bc6866
tree2ca424d9f1b4731f8ae81663fcceb1b461fef7cb
parent21ad3c4738cb69bd2974a1d9d820b768024406da
Move Py_buffer_RAII to .h file so SWIG 2 doesnt have to parse it

`struct Py_buffer_RAII` definition uses explicit deleted functions which are not supported by SWIG 2 (only 3).
To get around this I moved this struct to an .h file that is included to avoid being parsed by swig.

Reviewed By: lawrence_danna

Differential Revision: https://reviews.llvm.org/D86381
lldb/bindings/python/python-typemaps.h [new file with mode: 0644]
lldb/bindings/python/python-typemaps.swig