[clang] constexpr built-in elementwise bitreverse function. (#118177)
[llvm-project.git] / lldb / bindings / interface / SBMemoryRegionInfoListExtensions.i
blob49d49110de7ff905cfbbba9c6b87a35e73fd145b
1 %extend lldb::SBMemoryRegionInfoList {
2 #ifdef SWIGPYTHON
3 %pythoncode%{
4 def __len__(self):
5 '''Return the number of memory region info in a lldb.SBMemoryRegionInfoList object.'''
6 return self.GetSize()
8 def __iter__(self):
9 '''Iterate over all the memory regions in a lldb.SBMemoryRegionInfoList object.'''
10 return lldb_iter(self, 'GetSize', 'GetMemoryRegionAtIndex')
12 #endif