aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-20 17:38:49 +0000
committerZachary Turner <zturner@google.com>2015-10-20 17:38:49 +0000
commit32064024b93d7d0b5225ac576b7684f604c352bf (patch)
tree90735d08ed9c5e80a9d01ad590becd9f8dea30d8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parentcffe8caed3d1c5ba85948d70efa5bee24dd2f334 (diff)
downloadllvm-32064024b93d7d0b5225ac576b7684f604c352bf.zip
llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.gz
llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.bz2
Fix potential file i/o problem with python handles.
llvm-svn: 250838
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
index 2fc6c1c..eff2efa 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
@@ -334,6 +334,7 @@ public:
class PythonFile : public PythonObject
{
public:
+ PythonFile();
PythonFile(File &file, const char *mode);
PythonFile(const char *path, const char *mode);
PythonFile(PyRefType type, PyObject *o);