summaryrefslogtreecommitdiff
path: root/scripts/interface/SBThreadCollection.i
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-06 20:12:03 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-06 20:12:03 +0000
commit9e6d35490a6542f9c97607f93c2ef8ca8e03cbcc (patch)
treedd2a1ddf0476664c2b823409c36cbccd52662ca7 /scripts/interface/SBThreadCollection.i
parent3bd2e91faeb9eeec1aae82c64a3253afff551cfd (diff)
Notes
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