summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBThreadCollection.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface/SBThreadCollection.i')
-rw-r--r--lldb/scripts/Python/interface/SBThreadCollection.i38
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
OpenPOWER on IntegriCloud