From 85ced807f532fb5a315886de0f5ccfb53eaaadf0 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 18 Oct 2011 19:13:06 +0000 Subject: Add docstrings for SetCondition() and GetCondition() APIs. llvm-svn: 142396 --- lldb/scripts/Python/interface/SBBreakpoint.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lldb/scripts/Python/interface/SBBreakpoint.i') diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i index 0ca83bf33cd..9e333c37287 100644 --- a/lldb/scripts/Python/interface/SBBreakpoint.i +++ b/lldb/scripts/Python/interface/SBBreakpoint.i @@ -128,9 +128,19 @@ public: uint32_t GetIgnoreCount () const; + %feature("docstring", " + //-------------------------------------------------------------------------- + /// The breakpoint stops only if the condition expression evaluates to true. + //-------------------------------------------------------------------------- + ") SetCondition; void SetCondition (const char *condition); + %feature("docstring", " + //------------------------------------------------------------------ + /// Get the condition expression for the breakpoint. + //------------------------------------------------------------------ + ") GetCondition; const char * GetCondition (); -- cgit v1.2.3