summaryrefslogtreecommitdiff
path: root/scripts/interface/SBThreadCollection.i
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/interface/SBThreadCollection.i')
-rw-r--r--scripts/interface/SBThreadCollection.i38
1 files changed, 38 insertions, 0 deletions
diff --git a/scripts/interface/SBThreadCollection.i b/scripts/interface/SBThreadCollection.i
new file mode 100644
index 0000000000000..824f6923acce9
--- /dev/null
+++ b/scripts/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