diff options
Diffstat (limited to 'scripts/interface/SBStringList.i')
| -rw-r--r-- | scripts/interface/SBStringList.i | 44 | 
1 files changed, 44 insertions, 0 deletions
| diff --git a/scripts/interface/SBStringList.i b/scripts/interface/SBStringList.i new file mode 100644 index 000000000000..901aa88b183a --- /dev/null +++ b/scripts/interface/SBStringList.i @@ -0,0 +1,44 @@ +//===-- SWIG Interface for SBStringList -------------------------*- C++ -*-===// +// +//                     The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +namespace lldb { + +class SBStringList +{ +public: + +    SBStringList (); + +    SBStringList (const lldb::SBStringList &rhs); +     +    ~SBStringList (); + +    bool +    IsValid() const; + +    void +    AppendString (const char *str); + +    void +    AppendList (const char **strv, int strc); + +    void +    AppendList (const lldb::SBStringList &strings); + +    uint32_t +    GetSize () const; + +    const char * +    GetStringAtIndex (size_t idx); + +    void +    Clear (); +}; + +} // namespace lldb | 
