aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/mosflm.h')
-rw-r--r--libcrystfel/src/mosflm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.h b/libcrystfel/src/mosflm.h
index 1288b131..40282cec 100644
--- a/libcrystfel/src/mosflm.h
+++ b/libcrystfel/src/mosflm.h
@@ -37,6 +37,9 @@
#include "index.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
extern int run_mosflm(struct image *image, IndexingPrivate *ipriv);
@@ -46,4 +49,8 @@ extern IndexingPrivate *mosflm_prepare(IndexingMethod *indm, UnitCell *cell,
extern void mosflm_cleanup(IndexingPrivate *pp);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* MOSFLM_H */