aboutsummaryrefslogtreecommitdiffstats
path: root/cheesemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'cheesemap.h')
-rw-r--r--cheesemap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cheesemap.h b/cheesemap.h
index 9f8f45c..423ec17 100644
--- a/cheesemap.h
+++ b/cheesemap.h
@@ -1,6 +1,10 @@
#ifndef CHEESEMAP
#define CHEESEMAP
+#ifdef __cplusplus
+extern "C" {
+#endif
+
////////////////////////////////
// options and includes
//
@@ -155,4 +159,9 @@ void cm_raw_iter_init(struct cheesemap_raw_iter* iter,
bool cheesemap_raw_iter_next(struct cheesemap_raw_iter* iter,
uintptr_t entry_size, uintptr_t* out_index);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif