1 STRING_EXTENSION_OUTSIDE
(SBMemoryRegionInfo
)
3 %extend lldb
::SBMemoryRegionInfo
{
6 # operator
== is a free function
, which swig does not handle
, so we inject
7 # our own equality operator here
8 def __eq__
(self
, other
):
9 return not self.__ne__
(other
)
12 return self.GetRegionBase
()
15 return self.GetRegionEnd
() - self.GetRegionBase
()