summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-14 16:59:32 +0000
committerZachary Turner <zturner@google.com>2015-10-14 16:59:32 +0000
commit60c24f70fe1f7f37ae34e0ff47cd60db39094a88 (patch)
tree9af3c416fc69ee4d6093a24896b0cd30cad752cc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parenta5b9ad22b39c8aec39d3bd06efcdc13f4b0f9da8 (diff)
downloadbcm5719-llvm-60c24f70fe1f7f37ae34e0ff47cd60db39094a88.tar.gz
bcm5719-llvm-60c24f70fe1f7f37ae34e0ff47cd60db39094a88.zip
Change swig interface files to use PythonDataObjects.
llvm-svn: 250303
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 48fd4087bbf..83334e9c1a9 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -478,7 +478,7 @@ PyFile_FromFile_Const(FILE *fp, const char *mode)
int fd = fileno(fp);
#endif
- return PyRef(PyRefType::Owned,
+ return PythonObject(PyRefType::Owned,
PyFile_FromFd(fd, nullptr, cmode, -1, nullptr, "ignore", nullptr, 0));
#else
// Read through the Python source, doesn't seem to modify these strings
OpenPOWER on IntegriCloud