[Lldb-commits] [lldb] r145260 - /lldb/trunk/scripts/Python/interface/SBProcess.i

Johnny Chen johnny.chen at apple.com
Mon Nov 28 11:12:25 PST 2011


Author: johnny
Date: Mon Nov 28 13:12:25 2011
New Revision: 145260

URL: http://llvm.org/viewvc/llvm-project?rev=145260&view=rev
Log:
Clarify the SBProcess Python API GetSTDOUT()/GetSTDERR().  They look different from
the C++ API due to swig typemapping.

Modified:
    lldb/trunk/scripts/Python/interface/SBProcess.i

Modified: lldb/trunk/scripts/Python/interface/SBProcess.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBProcess.i?rev=145260&r1=145259&r2=145260&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBProcess.i (original)
+++ lldb/trunk/scripts/Python/interface/SBProcess.i Mon Nov 28 13:12:25 2011
@@ -67,9 +67,19 @@
     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;
 





More information about the lldb-commits mailing list