From edc44140947e4e3721e2a44e527b8b538451271d Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Sat, 6 Sep 2014 01:30:04 +0000 Subject: Expose the ability to retrieve the result of a type validator via the SB API. To keep it simple, do not expose the pair, but just return a NULL string for success, and a non-NULL string for error; If we were to decide to expose the pair, we would need an SBTypeValidatorResult, which is fine, but it should come as part of exposing type validators through the SB API rather than as a one-off thing. So, KISS for now llvm-svn: 217299 --- lldb/scripts/Python/interface/SBValue.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/scripts/Python/interface/SBValue.i') diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i index 281782b5a1a..15b39fd8630 100644 --- a/lldb/scripts/Python/interface/SBValue.i +++ b/lldb/scripts/Python/interface/SBValue.i @@ -123,6 +123,9 @@ public: const char * GetObjectDescription (); + + const char * + GetTypeValidatorResult (); lldb::SBValue GetDynamicValue (lldb::DynamicValueType use_dynamic); -- cgit v1.2.3