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

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