As long as it only changes the private API and not the public it's probably fine, if you think that will work feel free to give it a try and upload a new patch On Fri, Mar 25, 2016 at 9:12 AM Francis Ricci <fjri...@fb.com> wrote:
> fjricci added a comment. > > Would we want this overloaded method taking an int (fd) instead of a FILE* > to be present in the API? Or hidden somehow? I'm new to swig, but it looks > like python-extensions.swig includes some private extensions to the > CommandReturnObject class already. > > Overloading with an fd argument seems quite a bit more complex than doing > what we do now but setting transfer_ownership in the underlying > `CommandReturnObject::SetImmediateOutputFile()` call to true (which could > probably be done either with a new swig extension or by changing the api). > Do you think it's worth the added complexity? > > > http://reviews.llvm.org/D18459 > > > >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits