From b8295fb986ee3b7dc1cc8a4b44e67f8ff63e00ce Mon Sep 17 00:00:00 2001
From: Constantin Papizh <p.const@bk.ru>
Date: Tue, 23 Jun 2020 19:04:20 +0300
Subject: [PATCH] extern c def

---
 dap-sdk/core/include/dap_file_utils.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dap-sdk/core/include/dap_file_utils.h b/dap-sdk/core/include/dap_file_utils.h
index 9bc55055d7..bc65301937 100755
--- a/dap-sdk/core/include/dap_file_utils.h
+++ b/dap-sdk/core/include/dap_file_utils.h
@@ -66,6 +66,10 @@ typedef struct dap_list_name_directories{
  * @dir_path directory pathname
  * @return true, if the directory path contains only ASCII symbols
  */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 bool dap_valid_ascii_symbols(const char *a_dir_path);
 
 /**
@@ -111,4 +115,8 @@ dap_list_name_directories_t *dap_get_subs(const char *a_path_name);
  */
 bool dap_file_get_contents(const char *filename, char **contents, size_t *length);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // _FILE_UTILS_H_
-- 
GitLab