aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/integration.h')
-rw-r--r--libcrystfel/src/integration.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h
index 2c5773c6..84c1b900 100644
--- a/libcrystfel/src/integration.h
+++ b/libcrystfel/src/integration.h
@@ -80,6 +80,10 @@ typedef enum {
* core of the integration method */
#define INTEGRATION_METHOD_MASK (0xff)
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern IntegrationMethod integration_method(const char *t, int *err);
extern void integrate_all(struct image *image, IntegrationMethod meth,
@@ -94,4 +98,8 @@ extern void integrate_all_2(struct image *image, IntegrationMethod meth,
signed int idh, signed int idk, signed int idl);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INTEGRATION_H */