aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/peakfinder8.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/peakfinder8.h')
-rw-r--r--libcrystfel/src/peakfinder8.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/libcrystfel/src/peakfinder8.h b/libcrystfel/src/peakfinder8.h
index 1103ef96..483eebdf 100644
--- a/libcrystfel/src/peakfinder8.h
+++ b/libcrystfel/src/peakfinder8.h
@@ -1,7 +1,7 @@
/*
* peakfinder8.h
*
- * The processing pipeline for one image
+ * The peakfinder8 algorithm
*
* Copyright © 2012-2017 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
@@ -33,10 +33,18 @@
#include "image.h"
-int peakfinder8(struct image *img, int max_n_peaks,
- float threshold, float min_snr,
- int mix_pix_count, int max_pix_count,
- int local_bg_radius, int min_res,
- int max_res, int use_saturated);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int peakfinder8(struct image *img, int max_n_peaks,
+ float threshold, float min_snr,
+ int mix_pix_count, int max_pix_count,
+ int local_bg_radius, int min_res,
+ int max_res, int use_saturated);
+
+#ifdef __cplusplus
+}
+#endif
#endif // PEAKFINDER8_H