From 8a4dc0fec63e96ee498cd148fdea73a1ac93c0c4 Mon Sep 17 00:00:00 2001
From: Alexey Stratulat <--local>
Date: Sat, 3 Aug 2019 19:15:53 +0700
Subject: [PATCH] [*] Fix. Added directive to the compiler, compile the source
 file as C language.

---
 include/dap_events_python.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/dap_events_python.h b/include/dap_events_python.h
index 9f5dac4a..29c91d87 100644
--- a/include/dap_events_python.h
+++ b/include/dap_events_python.h
@@ -1,6 +1,10 @@
 #include "Python.h"
 #include "dap_events.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct PyDapEvents{
     PyObject_HEAD
     dap_events_t *t_events;
@@ -43,3 +47,6 @@ PyObject *dap_events_kill_socket_py(PyObject *self, PyObject *args); //dap_event
 PyObject *dap_events_start_py(PyObject *self, PyObject *args); //dap_events_t *sh );
 PyObject *dap_events_wait_py(PyObject *self, PyObject *args); //dap_events_t *sh );
 
+#ifdef __cplusplus
+}
+#endif
-- 
GitLab