[all-commits] [llvm/llvm-project] 5d8eed: Move Py_buffer_RAII to .h file so SWIG 2 doesnt ha...

António Afonso via All-commits all-commits at lists.llvm.org
Sat Aug 22 10:44:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d8eedee917de2d39d1c485d07a30f8649bc6866
      https://github.com/llvm/llvm-project/commit/5d8eedee917de2d39d1c485d07a30f8649bc6866
  Author: António Afonso <antonio.afonso at gmail.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    A lldb/bindings/python/python-typemaps.h
    M lldb/bindings/python/python-typemaps.swig

  Log Message:
  -----------
  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




More information about the All-commits mailing list