aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/cell-utils.h')
-rw-r--r--libcrystfel/src/cell-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/cell-utils.h b/libcrystfel/src/cell-utils.h
index 101edc41..00071c59 100644
--- a/libcrystfel/src/cell-utils.h
+++ b/libcrystfel/src/cell-utils.h
@@ -37,6 +37,10 @@
#include "cell.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern double resolution(UnitCell *cell,
signed int h, signed int k, signed int l);
@@ -69,4 +73,8 @@ extern LatticeType lattice_from_str(const char *s);
extern int forbidden_reflection(UnitCell *cell,
signed int h, signed int k, signed int l);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CELL_UTILS_H */