mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 04:13:48 +00:00
27 lines
708 B
Diff
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 %{
|