From 40d6969c7a05fe13c3883443d1c9feba6fab30d1 Mon Sep 17 00:00:00 2001 From: Chuck Date: Thu, 12 Jun 2014 16:08:55 +0200 Subject: Add extern "C" for C++ compatibility --- libcrystfel/src/xds.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libcrystfel/src/xds.h') diff --git a/libcrystfel/src/xds.h b/libcrystfel/src/xds.h index dd0c3298..b42d8dbf 100644 --- a/libcrystfel/src/xds.h +++ b/libcrystfel/src/xds.h @@ -38,6 +38,9 @@ #include "cell.h" #include "index.h" +#ifdef __cplusplus +extern "C" { +#endif extern int run_xds(struct image *image, IndexingPrivate *ipriv); @@ -47,4 +50,8 @@ extern IndexingPrivate *xds_prepare(IndexingMethod *indm, UnitCell *cell, extern void xds_cleanup(IndexingPrivate *pp); +#ifdef __cplusplus +} +#endif + #endif /* XDS_H */ -- cgit v1.2.3