summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBCommandInterpreter.i2
-rw-r--r--lldb/scripts/Python/interface/SBProcess.i4
2 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBCommandInterpreter.i b/lldb/scripts/Python/interface/SBCommandInterpreter.i
index 6a5ee2466b0..ec9e51c561a 100644
--- a/lldb/scripts/Python/interface/SBCommandInterpreter.i
+++ b/lldb/scripts/Python/interface/SBCommandInterpreter.i
@@ -99,8 +99,10 @@ public:
lldb::SBProcess
GetProcess ();
+#if 0
ssize_t
WriteToScriptInterpreter (const char *src);
+#endif
ssize_t
WriteToScriptInterpreter (const char *src, size_t src_len);
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i
index 531cd5903cf..b2ab9231a26 100644
--- a/lldb/scripts/Python/interface/SBProcess.i
+++ b/lldb/scripts/Python/interface/SBProcess.i
@@ -64,6 +64,10 @@ public:
lldb::ByteOrder
GetByteOrder() const;
+ %feature("autodoc", "
+ Writes data into the current process's stdin. API client specifies a Python
+ string as the only argument.
+ ") PutSTDIN;
size_t
PutSTDIN (const char *src, size_t src_len);
OpenPOWER on IntegriCloud