1 //===-- SWIG Interface for SBEnvironment-------------------------*- 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 //===----------------------------------------------------------------------===//
12 "Represents the environment of a certain process.
16 for entry in lldb.debugger.GetSelectedTarget().GetEnvironment().GetEntries():
24 SBEnvironment (const lldb::SBEnvironment &rhs);
28 size_t GetNumValues();
30 const char *Get(const char *name);
32 const char *GetNameAtIndex(size_t index);
34 const char *GetValueAtIndex(size_t index);
36 SBStringList GetEntries();
38 void PutEntry(const char *name_and_value);
40 void SetEntries(const SBStringList &entries, bool append);
42 bool Set(const char *name, const char *value, bool overwrite);
44 bool Unset(const char *name);