aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/utils
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-03-27 08:54:00 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-03-27 08:54:00 -0700
commit6bd16f69fd146ae93b5adcdac9b47a2da5cfb9c1 (patch)
tree574d8cb091953aa6e5eed32fdca03f00f1e7a92e /src/objc/utils
parentf890e0daa7ca701b8c0db6c34177132c2bf6e8e9 (diff)
Fixed ObjC <-> C++ integration
Diffstat (limited to 'src/objc/utils')
-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