summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorLawrence D'Anna <lawrence_danna@apple.com>2019-10-09 20:56:17 +0000
committerLawrence D'Anna <lawrence_danna@apple.com>2019-10-09 20:56:17 +0000
commit21b8a8ae27f3a374c55efce5a5637f732eb6595c (patch)
tree7c46a80978b5210654dc96a3ee41da1a08cdd5c4 /lldb/scripts/Python/python-wrapper.swig
parentadc38dcf5ff066ca5c445af023c6e75e32757bd9 (diff)
downloadbcm5719-llvm-21b8a8ae27f3a374c55efce5a5637f732eb6595c.tar.gz
bcm5719-llvm-21b8a8ae27f3a374c55efce5a5637f732eb6595c.zip
allow arbitrary python streams to be converted to SBFile
Summary: This patch adds SWIG typemaps that can convert arbitrary python file objects into lldb_private::File. A SBFile may be initialized from a python file using the constructor. There are also alternate, tagged constructors that allow python files to be borrowed, and for the caller to control whether or not the python I/O methods will be called even when a file descriptor is available.I Reviewers: JDevlieghere, jasonmolenda, labath Reviewed By: labath Subscribers: zturner, amccarth, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68188 llvm-svn: 374225
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud