History log of /external/lldb/test/python_api/default-constructor/sb_inputreader.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
55ea73dd3d635d1ff374c809eac2f9581c1fb37b 22-Aug-2012 Filipe Cabecinhas <me@filcab.net> Added a typemap and wrappers for SBInputReader callbacks

Now it's possible to use SBInputReader callbacks in Python.

We leak the callback object, unfortunately. A __del__ method can be added
to SBInputReader, but we have no way to check the callback function that
is on the reader. So we can't call Py_DECREF on it when we have our
PythonCallback function. One way to do it is to assume that reified
SBInputReaders always have a Python callback (and always call Py_DECREF).
Another one is to add methods or properties to SBInputReader (or make the
m_callback_function property public).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/default-constructor/sb_inputreader.py
b7b4947c5cd2ada69d9d3d4539557853ad9d2d7a 28-Jun-2011 Johnny Chen <johnny.chen@apple.com> Add fuzz calls for SBInputReader.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/python_api/default-constructor/sb_inputreader.py