summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBSourceManager.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface/SBSourceManager.i')
-rw-r--r--lldb/scripts/Python/interface/SBSourceManager.i28
1 files changed, 28 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBSourceManager.i b/lldb/scripts/Python/interface/SBSourceManager.i
new file mode 100644
index 00000000000..d4fd87a17ba
--- /dev/null
+++ b/lldb/scripts/Python/interface/SBSourceManager.i
@@ -0,0 +1,28 @@
+//===-- SWIG Interface for SBSourceManager ----------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+namespace lldb {
+
+class SBSourceManager
+{
+public:
+ SBSourceManager (const lldb::SBSourceManager &rhs);
+
+ ~SBSourceManager();
+
+ size_t
+ DisplaySourceLinesWithLineNumbers (const lldb::SBFileSpec &file,
+ uint32_t line,
+ uint32_t context_before,
+ uint32_t context_after,
+ const char* current_line_cstr,
+ lldb::SBStream &s);
+};
+
+} // namespace lldb
OpenPOWER on IntegriCloud