aboutsummaryrefslogtreecommitdiffstats
path: root/cheesemap.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-22 13:41:48 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-22 13:41:48 +0100
commite4cd519363547444be338ff087a559bb0490c5f1 (patch)
tree36169fb4b34b3e8e802ab84907e8d6fd507d861f /cheesemap.h
parenta321f937fbe058aa4852e7a6868d4603fb7bfc64 (diff)
fixing critical bug
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