From d80e5e9dd878a663e9a30b3f42a6f8c8fd8f3c2e Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 28 Nov 2011 19:12:25 +0000 Subject: Clarify the SBProcess Python API GetSTDOUT()/GetSTDERR(). They look different from the C++ API due to swig typemapping. llvm-svn: 145260 --- lldb/scripts/Python/interface/SBProcess.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lldb/scripts/Python') diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index 04f9693db61..531cd5903cf 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -67,9 +67,19 @@ public: size_t PutSTDIN (const char *src, size_t src_len); + %feature("autodoc", " + Reads data from the current process's stdout stream. API client specifies + the size of the buffer to read data into. It returns the byte buffer in a + Python string. + ") GetSTDOUT; size_t GetSTDOUT (char *dst, size_t dst_len) const; + %feature("autodoc", " + Reads data from the current process's stderr stream. API client specifies + the size of the buffer to read data into. It returns the byte buffer in a + Python string. + ") GetSTDERR; size_t GetSTDERR (char *dst, size_t dst_len) const; -- cgit v1.2.3