diff options
Diffstat (limited to 'libcrystfel/src/histogram.h')
-rw-r--r-- | libcrystfel/src/histogram.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/histogram.h b/libcrystfel/src/histogram.h index 815c2f76..c3ff27f7 100644 --- a/libcrystfel/src/histogram.h +++ b/libcrystfel/src/histogram.h @@ -33,6 +33,9 @@ #include <config.h> #endif +#ifdef __cplusplus +extern "C" { +#endif typedef struct _histogram Histogram; @@ -49,4 +52,8 @@ extern void histogram_set_min(Histogram *hi, double min); extern void histogram_set_max(Histogram *hi, double max); extern void histogram_set_num_bins(Histogram *hi, int n); +#ifdef __cplusplus +} +#endif + #endif /* HISTOGRAM_H */ |