aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/test.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/include/test.h b/tests/include/test.h
index 29181c5..6a3d9a4 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -1,3 +1,7 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
#define TEST_INT 512
@@ -76,4 +80,8 @@ ENUM2 test_call_param4(enum ENUM param1);
union UNION1 test_call_param5(float param1);
unsigned char test_call_param6(UNION2 param1);
int test_call_param7(union UNION1 param1);
-float test_call_param8(int *param1); \ No newline at end of file
+float test_call_param8(int *param1);
+
+#ifdef __cplusplus
+}
+#endif \ No newline at end of file