From e4cd519363547444be338ff087a559bb0490c5f1 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Sun, 22 Mar 2026 13:41:48 +0100 Subject: fixing critical bug --- cheesemap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cheesemap.h') 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 -- cgit v1.2.3