Przeglądaj źródła

CMSIS-DSP: Update header for use from C++

Christophe Favergeon 5 lat temu
rodzic
commit
236a881c46
1 zmienionych plików z 11 dodań i 2 usunięć
  1. 11 2
      CMSIS/DSP/Platforms/IPSS/ipss_bench.h

+ 11 - 2
CMSIS/DSP/Platforms/IPSS/ipss_bench.h

@@ -1,7 +1,16 @@
 #ifndef IPSS_BENCH_H
 #define IPSS_BENCH_H 
 
-extern void start_ipss_measurement();
-extern void stop_ipss_measurement();
+#ifdef   __cplusplus
+extern "C"
+{
+#endif
+
+void start_ipss_measurement();
+void stop_ipss_measurement();
+
+#ifdef   __cplusplus
+}
+#endif
 
 #endif