]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/bindings/interface/SBThreadCollection.i
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / bindings / interface / SBThreadCollection.i
1 //===-- SWIG Interface for SBThreadCollection -------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include <stdio.h>
10
11 namespace lldb {
12
13 %feature("docstring",
14 "Represents a collection of SBThread objects."
15 ) SBThreadCollection;
16 class SBThreadCollection
17 {
18 public:
19
20     SBThreadCollection ();
21
22     SBThreadCollection (const SBThreadCollection &rhs);
23
24     ~SBThreadCollection ();
25
26     bool
27     IsValid () const;
28
29     explicit operator bool() const;
30
31     size_t
32     GetSize ();
33
34     lldb::SBThread
35     GetThreadAtIndex (size_t idx);
36
37 };
38
39 } // namespace lldb