aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-11-02 02:43:27 +0000
committerJason Molenda <jmolenda@apple.com>2017-11-02 02:43:27 +0000
commitedc2def4a65764991ffb50e9c9af1c740ced534c (patch)
tree1956183f5d71079fc4d2e3503a5e892c8d27dbda /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent9e27b70a07c35880da49619bd85ce47cb327fb02 (diff)
downloadllvm-edc2def4a65764991ffb50e9c9af1c740ced534c.zip
llvm-edc2def4a65764991ffb50e9c9af1c740ced534c.tar.gz
llvm-edc2def4a65764991ffb50e9c9af1c740ced534c.tar.bz2
Commit Lawrence D'Anna's patch to change
SetOututFileHandle to work with IOBase. I did make one change after checking with Larry -- I renamed SBDebugger::Flush to FlushDebuggerOutputHandles and added a short docstring to the .i file to make it a little clearer under which context programs may need to use this API. Differential Revision: https://reviews.llvm.org/D39128 <rdar://problem/34870417> llvm-svn: 317182
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
index a71fcea..ed200e4 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
@@ -541,12 +541,12 @@ protected:
bool GetEmbeddedInterpreterModuleObjects();
- bool SetStdHandle(File &file, const char *py_name, PythonFile &save_file,
+ bool SetStdHandle(File &file, const char *py_name, PythonObject &save_file,
const char *mode);
- PythonFile m_saved_stdin;
- PythonFile m_saved_stdout;
- PythonFile m_saved_stderr;
+ PythonObject m_saved_stdin;
+ PythonObject m_saved_stdout;
+ PythonObject m_saved_stderr;
PythonObject m_main_module;
PythonObject m_lldb_module;
PythonDictionary m_session_dict;