aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r--libcrystfel/src/index.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h
index 4149f789..76ecfad4 100644
--- a/libcrystfel/src/index.h
+++ b/libcrystfel/src/index.h
@@ -110,6 +110,9 @@ typedef enum {
* core of the indexing method */
#define INDEXING_METHOD_MASK (0xff)
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* IndexingPrivate:
@@ -136,4 +139,8 @@ extern void index_pattern(struct image *image,
extern void cleanup_indexing(IndexingMethod *indms, IndexingPrivate **privs);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INDEX_H */