diff options
Diffstat (limited to 'lldb/bindings/interface/SBThreadCollection.i')
| -rw-r--r-- | lldb/bindings/interface/SBThreadCollection.i | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lldb/bindings/interface/SBThreadCollection.i b/lldb/bindings/interface/SBThreadCollection.i new file mode 100644 index 000000000000..c2d9d8318dcd --- /dev/null +++ b/lldb/bindings/interface/SBThreadCollection.i @@ -0,0 +1,39 @@ +//===-- SWIG Interface for SBThreadCollection -------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#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; + + explicit operator bool() const; + + size_t + GetSize (); + + lldb::SBThread + GetThreadAtIndex (size_t idx); + +}; + +} // namespace lldb |
