Add docstrings for SetCondition() and GetCondition() APIs.

llvm-svn: 142396
This commit is contained in:
Johnny Chen 2011-10-18 19:13:06 +00:00
parent 93b0f7b319
commit 85ced807f5
3 changed files with 31 additions and 0 deletions

View File

@ -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 ();

View File

@ -50,9 +50,20 @@ public:
void
SetIgnoreCount (uint32_t n);
%feature("docstring", "
//--------------------------------------------------------------------------
/// The breakpoint location stops only if the condition expression evaluates
/// to true.
//--------------------------------------------------------------------------
") SetCondition;
void
SetCondition (const char *condition);
%feature("docstring", "
//------------------------------------------------------------------
/// Get the condition expression for the breakpoint location.
//------------------------------------------------------------------
") GetCondition;
const char *
GetCondition ();

View File

@ -66,9 +66,19 @@ public:
void
SetIgnoreCount (uint32_t n);
%feature("docstring", "
//------------------------------------------------------------------
/// Get the condition expression for the watchpoint.
//------------------------------------------------------------------
") GetCondition;
const char *
GetCondition ();
%feature("docstring", "
//--------------------------------------------------------------------------
/// The watchpoint stops only if the condition expression evaluates to true.
//--------------------------------------------------------------------------
") SetCondition;
void
SetCondition (const char *condition);