llvm-toolchain/debian/patches/r168901.diff
2013-01-10 16:41:04 +00:00

27 lines
708 B
Diff

Index: scripts/Python/python-wrapper.swig
===================================================================
--- scripts/Python/python-wrapper.swig (revision 168900)
+++ scripts/Python/python-wrapper.swig (revision 168901)
@@ -964,6 +964,10 @@
#include "lldb/API/SBInputReader.h"
#include "lldb/API/SBDebugger.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
size_t
LLDBSwigPythonCallSBInputReaderCallback(void *baton,
lldb::SBInputReader *reader,
@@ -972,6 +976,10 @@
size_t bytes_len);
void LLDBSwigPythonCallPythonLogOutputCallback(const char *str, void *baton);
+
+#ifdef __cplusplus
+}
+#endif
%}
%wrapper %{