Clarify the SBProcess Python API GetSTDOUT()/GetSTDERR(). They look different from

the C++ API due to swig typemapping.

llvm-svn: 145260
This commit is contained in:
Johnny Chen 2011-11-28 19:12:25 +00:00
parent 9252724a04
commit d80e5e9dd8
1 changed files with 10 additions and 0 deletions

View File

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