aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/beam-parameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/beam-parameters.h')
-rw-r--r--libcrystfel/src/beam-parameters.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/beam-parameters.h b/libcrystfel/src/beam-parameters.h
index de777deb..bc3708d9 100644
--- a/libcrystfel/src/beam-parameters.h
+++ b/libcrystfel/src/beam-parameters.h
@@ -53,10 +53,17 @@ struct beam_params
double profile_radius; /* Reciprocal space size of a reflection */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
extern struct beam_params *get_beam_parameters(const char *filename);
extern void free_beam_parameters(struct beam_params *beam);
extern void fill_in_beam_parameters(struct beam_params *beam, struct hdfile *f);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* BEAM_PARAMETERS_H */