aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/objc/utils/MCORange.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/objc/utils/MCORange.h b/src/objc/utils/MCORange.h
index d918bf9e..1f2f9715 100644
--- a/src/objc/utils/MCORange.h
+++ b/src/objc/utils/MCORange.h
@@ -15,6 +15,10 @@
#include <mailcore/MCBaseTypes.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
@class MCOIndexSet;
typedef struct {
@@ -36,4 +40,8 @@ BOOL MCORangeHasIntersection(MCORange range1, MCORange range2);
uint64_t MCORangeLeftBound(MCORange range);
uint64_t MCORangeRightBound(MCORange range);
+#ifdef __cplusplus
+}
+#endif
+
#endif