[Lldb-commits] [PATCH] D13794: Update SWIG typemaps to use new `PythonFile` wrapper
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 15 17:40:17 PDT 2015
zturner created this revision.
zturner added reviewers: clayborg, granata.enrico.
zturner added a subscriber: lldb-commits.
Handling of Python files is different in Python 3, to the point that it is unwieldy to try to write native C API calls in places that need to use files. A new type of python object `PythonFile` is created to wrap these implementation details, and the various swig typemaps are updated to use this wrapper instead of the native API calls.
http://reviews.llvm.org/D13794
Files:
scripts/Python/python-typemaps.swig
source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13794.37543.patch
Type: text/x-patch
Size: 3619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151016/15f49387/attachment.bin>
More information about the lldb-commits
mailing list