aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integer_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/integer_matrix.h')
-rw-r--r--libcrystfel/src/integer_matrix.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/integer_matrix.h b/libcrystfel/src/integer_matrix.h
index 2573bfec..e1ba2c56 100644
--- a/libcrystfel/src/integer_matrix.h
+++ b/libcrystfel/src/integer_matrix.h
@@ -40,6 +40,9 @@
**/
typedef struct _integermatrix IntegerMatrix;
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Alloc/dealloc */
extern IntegerMatrix *intmat_new(unsigned int rows, unsigned int cols);
@@ -78,4 +81,8 @@ extern int intmat_equals(const IntegerMatrix *a, const IntegerMatrix *b);
/* Diagnostics */
extern void intmat_print(const IntegerMatrix *m);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INTEGER_MATRIX_H */