[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / bindings / interface / SBStreamExtensions.i
blob6f1dfa5e8fdd29ec33b5dc34a4dd3019ceaef959
1 %extend lldb::SBStream {
2 #ifdef SWIGPYTHON
3 %pythoncode%{
4 def __len__(self):
5 return self.GetSize()
6 %}
7 #endif
9 %feature("autodoc", "DEPRECATED, use RedirectToFile") RedirectToFileHandle;
10 void
11 RedirectToFileHandle (lldb::FileSP file, bool transfer_fh_ownership) {
12 self->RedirectToFile(file);