From 5d3bca4ec3347d5100b071ba7c5c637f522a014b Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 19 Dec 2011 20:39:44 +0000 Subject: Add needed Clear methods. llvm-svn: 146902 --- lldb/scripts/Python/interface/SBModule.i | 3 +++ lldb/scripts/Python/interface/SBValue.i | 3 +++ lldb/scripts/Python/interface/SBValueList.i | 3 +++ 3 files changed, 9 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i index 01bf470f9c8..08e5c184114 100644 --- a/lldb/scripts/Python/interface/SBModule.i +++ b/lldb/scripts/Python/interface/SBModule.i @@ -103,6 +103,9 @@ public: bool IsValid () const; + void + Clear(); + %feature("docstring", " //------------------------------------------------------------------ /// Get const accessor for the module file specification. diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i index a1ab884c589..a9878a20b63 100644 --- a/lldb/scripts/Python/interface/SBValue.i +++ b/lldb/scripts/Python/interface/SBValue.i @@ -67,6 +67,9 @@ public: bool IsValid(); + void + Clear(); + SBError GetError(); diff --git a/lldb/scripts/Python/interface/SBValueList.i b/lldb/scripts/Python/interface/SBValueList.i index 75c8f6bb49b..afd48915e55 100644 --- a/lldb/scripts/Python/interface/SBValueList.i +++ b/lldb/scripts/Python/interface/SBValueList.i @@ -78,6 +78,9 @@ public: bool IsValid() const; + + void + Clear(); void Append (const lldb::SBValue &val_obj); -- cgit v1.2.3