Added the ability to get the target triple, byte order and address byte size
from the SBTarget and SBModule interfaces. Also added many python properties
for easier access to many things from many SB objects.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149191 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBError.i b/scripts/Python/interface/SBError.i
index 61bd4ba..60b051a 100644
--- a/scripts/Python/interface/SBError.i
+++ b/scripts/Python/interface/SBError.i
@@ -102,6 +102,25 @@
 
     bool
     GetDescription (lldb::SBStream &description);
+    
+    %pythoncode %{
+        __swig_getmethods__["value"] = GetError
+        if _newclass: x = property(GetError, None)
+        
+        __swig_getmethods__["fail"] = Fail
+        if _newclass: x = property(Fail, None)
+        
+        __swig_getmethods__["success"] = Success
+        if _newclass: x = property(Success, None)
+        
+        __swig_getmethods__["description"] = GetCString
+        if _newclass: x = property(GetCString, None)
+        
+        __swig_getmethods__["type"] = GetType
+        if _newclass: x = property(GetType, None)
+        
+    %}
+
 };
 
 } // namespace lldb