1 //===-- SWIG Interface for SBStringList -------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
17 SBStringList (const lldb::SBStringList &rhs);
24 explicit operator bool() const;
27 AppendString (const char *str);
30 AppendList (const char **strv, int strc);
33 AppendList (const lldb::SBStringList &strings);
39 GetStringAtIndex (size_t idx);
47 '''Iterate over all strings in a lldb.SBStringList object.'''
48 return lldb_iter(self, 'GetSize', 'GetStringAtIndex')
51 '''Return the number of strings in a lldb.SBStringList object.'''