aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peaks.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/peaks.h')
-rw-r--r--libcrystfel/src/peaks.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.h b/libcrystfel/src/peaks.h
index 433f7d1f..902a5177 100644
--- a/libcrystfel/src/peaks.h
+++ b/libcrystfel/src/peaks.h
@@ -38,6 +38,10 @@
#include "reflist.h"
#include "crystal.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int *make_BgMask(struct image *image, struct panel *p, double ir_inn);
extern void search_peaks(struct image *image, float threshold,
@@ -58,4 +62,8 @@ extern int integrate_peak(struct image *image, int cfs, int css,
double ir_inn, double ir_mid, double ir_out,
int *bgPkMask, int *saturated);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* PEAKS_H */