diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-11-28 19:12:25 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-11-28 19:12:25 +0000 |
commit | d80e5e9dd878a663e9a30b3f42a6f8c8fd8f3c2e (patch) | |
tree | f3c76d9a42cbacb55a283cb68cd2a26112710fa7 /lldb/scripts/Python | |
parent | 9252724a044b0fadb21e16904569c4136f519e50 (diff) | |
download | bcm5719-llvm-d80e5e9dd878a663e9a30b3f42a6f8c8fd8f3c2e.tar.gz bcm5719-llvm-d80e5e9dd878a663e9a30b3f42a6f8c8fd8f3c2e.zip |
Clarify the SBProcess Python API GetSTDOUT()/GetSTDERR(). They look different from
the C++ API due to swig typemapping.
llvm-svn: 145260
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/interface/SBProcess.i | 10 |
1 files changed, 10 insertions, 0 deletions
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; |