repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git]
/
lldb
/
bindings
/
interface
/
SBStreamExtensions.i
blob
6f1dfa5e8fdd29ec33b5dc34a4dd3019ceaef959
1
%
extend lldb
::
SBStream
{
2
#ifdef SWIGPYTHON
3
%
pythoncode
%{
4
def __len__
(
self
):
5
return self.GetSize
()
6
%}
7
#endif
8
9
%
feature
(
"autodoc"
,
"DEPRECATED, use RedirectToFile"
)
RedirectToFileHandle
;
10
void
11
RedirectToFileHandle
(
lldb
::
FileSP file
,
bool transfer_fh_ownership
) {
12
self-
>
RedirectToFile
(
file
);
13
}
14
}