diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2014-09-06 01:21:19 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2014-09-06 01:21:19 +0000 |
commit | a5ea1e2b6c60905ed39401876b8bd28a115e39ea (patch) | |
tree | ebf9998f4dcad47dfe1e797caf858dbc237dc475 /lldb/scripts/Python/interface/SBThreadCollection.i | |
parent | 095b92e51b2fd06926549fbcfccc9ee2a31a18c7 (diff) | |
download | bcm5719-llvm-a5ea1e2b6c60905ed39401876b8bd28a115e39ea.tar.gz bcm5719-llvm-a5ea1e2b6c60905ed39401876b8bd28a115e39ea.zip |
Expose ThreadCollection in SB API
Reviewed at
http://reviews.llvm.org/D5218
and
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140901/012828.html
llvm-svn: 217296
Diffstat (limited to 'lldb/scripts/Python/interface/SBThreadCollection.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBThreadCollection.i | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBThreadCollection.i b/lldb/scripts/Python/interface/SBThreadCollection.i new file mode 100644 index 00000000000..824f6923acc --- /dev/null +++ b/lldb/scripts/Python/interface/SBThreadCollection.i @@ -0,0 +1,38 @@ +//===-- SWIG Interface for SBThreadCollection -------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include <stdio.h> + +namespace lldb { + +%feature("docstring", +"Represents a collection of SBThread objects." +) SBThreadCollection; +class SBThreadCollection +{ +public: + + SBThreadCollection (); + + SBThreadCollection (const SBThreadCollection &rhs); + + ~SBThreadCollection (); + + bool + IsValid () const; + + size_t + GetSize (); + + lldb::SBThread + GetThreadAtIndex (size_t idx); + +}; + +} // namespace lldb |