diff options
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
-rw-r--r-- | lldb/scripts/Python/python-extensions.swig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-extensions.swig b/lldb/scripts/Python/python-extensions.swig index cd8f1cfc5f0..24f06a189f7 100644 --- a/lldb/scripts/Python/python-extensions.swig +++ b/lldb/scripts/Python/python-extensions.swig @@ -25,7 +25,6 @@ return PyString_FromStringAndSize (desc, desc_len); else return PyString_FromString(""); - } } %extend lldb::SBBreakpoint { @@ -485,6 +484,16 @@ } } +// %extend lldb::SBInputReader { +// // FIXME: m_callback_function is private and we have no other +// // way to access it. +// PyObject *lldb::SBInputReader::__del__ (){ +// // Only call Py_XDECREF if we have a Python object (or NULL) +// if (LLDBSwigPythonCallSBInputReaderCallback == $self->m_callback_function) +// Py_XDECREF($self->m_callback_baton); +// } +// } + %pythoncode %{ class declaration(object): |