aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/salis.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/salis.h b/include/salis.h
index a9e2d3d..ec9bff0 100644
--- a/include/salis.h
+++ b/include/salis.h
@@ -1,6 +1,10 @@
#ifndef SALIS_H
#define SALIS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdio.h>
#include <types.h>
#include <instset.h>
@@ -19,4 +23,8 @@ sword s_getEpoch (void);
void s_cycle (void);
+#ifdef __cplusplus
+}
+#endif
+
#endif