diff options
Diffstat (limited to 'libcrystfel/src/grainspotter.h')
-rw-r--r-- | libcrystfel/src/grainspotter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/grainspotter.h b/libcrystfel/src/grainspotter.h index 2e308a1c..b6a83725 100644 --- a/libcrystfel/src/grainspotter.h +++ b/libcrystfel/src/grainspotter.h @@ -35,6 +35,10 @@ #include "cell.h" +#ifdef __cplusplus +extern "C" { +#endif + extern IndexingPrivate *grainspotter_prepare(IndexingMethod *indm, UnitCell *cell, struct detector *det, @@ -45,5 +49,8 @@ extern void grainspotter_cleanup(IndexingPrivate *pp); extern int grainspotter_index(struct image *image, IndexingPrivate *p); +#ifdef __cplusplus +} +#endif #endif /* GRAINSPOTTER_H */ |