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
/
SBStringListExtensions.i
blob
04f72668b37feef093e2ed08716ae94b41662684
1
%
extend lldb
::
SBStringList
{
2
#ifdef SWIGPYTHON
3
%
pythoncode
%{
4
def __iter__
(
self
):
5
'''Iterate over all strings in a lldb.SBStringList object.'''
6
return lldb_iter
(
self
,
'GetSize'
,
'GetStringAtIndex'
)
7
8
def __len__
(
self
):
9
'''Return the number of strings in a lldb.SBStringList object.'''
10
return self.GetSize
()
11
%}
12
#endif
13
}