aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/statistics.h')
-rw-r--r--libcrystfel/src/statistics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/statistics.h b/libcrystfel/src/statistics.h
index 52ebc383..17338dad 100644
--- a/libcrystfel/src/statistics.h
+++ b/libcrystfel/src/statistics.h
@@ -33,6 +33,9 @@
#ifndef STATISTICS_H
#define STATISTICS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "reflist.h"
@@ -58,5 +61,8 @@ extern double stat_pearson_i(RefList *list1, RefList *list2);
extern double stat_pearson_f_zero(RefList *list1, RefList *list2);
extern double stat_pearson_f_ignore(RefList *list1, RefList *list2);
+#ifdef __cplusplus
+}
+#endif
#endif /* STATISTICS_H */