aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 213bcfec..d8ffa0ff 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -179,6 +179,9 @@ struct image {
};
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Feature lists */
extern ImageFeatureList *image_feature_list_new(void);
@@ -201,4 +204,8 @@ extern struct imagefeature *image_get_feature(ImageFeatureList *flist, int idx);
extern void image_add_crystal(struct image *image, Crystal *cryst);
extern void free_all_crystals(struct image *image);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* IMAGE_H */