summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-11-28 19:12:25 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-11-28 19:12:25 +0000
commitd80e5e9dd878a663e9a30b3f42a6f8c8fd8f3c2e (patch)
treef3c76d9a42cbacb55a283cb68cd2a26112710fa7 /lldb/scripts/Python
parent9252724a044b0fadb21e16904569c4136f519e50 (diff)
downloadbcm5719-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.i10
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;
OpenPOWER on IntegriCloud