From eff81a471acdf888e3cf5bc6550bd62b465d4e06 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 9 Jul 2013 20:14:26 +0000 Subject: Second attempt at getting the PyCallable changes in trunk Thanks to Daniel Malea for helping test this patch for Linux happiness! llvm-svn: 185965 --- lldb/scripts/Python/interface/SBCommandReturnObject.i | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBCommandReturnObject.i b/lldb/scripts/Python/interface/SBCommandReturnObject.i index 7cec06943bf..5ade97bebfe 100644 --- a/lldb/scripts/Python/interface/SBCommandReturnObject.i +++ b/lldb/scripts/Python/interface/SBCommandReturnObject.i @@ -58,6 +58,13 @@ public: void SetStatus (lldb::ReturnStatus status); + + void + SetError (lldb::SBError &error, + const char *fallback_error_cstr = NULL); + + void + SetError (const char *error_cstr); lldb::ReturnStatus GetStatus(); -- cgit v1.2.3