aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/dirax.h')
-rw-r--r--libcrystfel/src/dirax.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/dirax.h b/libcrystfel/src/dirax.h
index 1ac2f456..c2d8abdb 100644
--- a/libcrystfel/src/dirax.h
+++ b/libcrystfel/src/dirax.h
@@ -35,6 +35,10 @@
#include "index.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int run_dirax(struct image *image, IndexingPrivate *ipriv);
extern IndexingPrivate *dirax_prepare(IndexingMethod *indm,
@@ -43,4 +47,8 @@ extern IndexingPrivate *dirax_prepare(IndexingMethod *indm,
extern void dirax_cleanup(IndexingPrivate *pp);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* DIRAX_H */