Change swig interface files to use PythonDataObjects.
llvm-svn: 250303
This commit is contained in:
1 parent
a5b9ad22b3
commit
60c24f70fe
5 files changed
+101
-87
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user