blob: 079a50a6940ed7ae2c479c75e25ec96e3fa55b57 [file] [edit]
%extend lldb::SBProcessInfo {
#ifdef SWIGPYTHON
%pythoncode %{
@property
def arguments(self):
"""A read only property that returns a list of lldb.SBProcessInfo arguments."""
if not hasattr(self, "_arguments"):
self._arguments = [
self.GetArgumentAtIndex(idx)
for idx in range(self.GetNumArguments())
]
return self._arguments
%}
#endif
}