aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index dd5dccec..0bffd043 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -23,6 +23,9 @@ struct hdfile;
#include "hdf5-file.h"
#include "image.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
struct panel
{
@@ -127,5 +130,8 @@ extern double smallest_q(struct image *image);
extern struct panel *find_panel_by_name(struct detector *det, const char *name);
+#ifdef __cplusplus
+}
+#endif
#endif /* DETECTOR_H */