diff options
author | Chuck <chun.hong.yoon@desy.de> | 2014-06-12 16:08:55 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-06-13 11:01:26 +0200 |
commit | 40d6969c7a05fe13c3883443d1c9feba6fab30d1 (patch) | |
tree | 23ee8a7247612d7860030a909bc4e1e33ba0c1f3 /libcrystfel/src/integration.h | |
parent | 73629ee82c643769ddff3caa437f9e842f353b23 (diff) |
Add extern "C" for C++ compatibility
Diffstat (limited to 'libcrystfel/src/integration.h')
-rw-r--r-- | libcrystfel/src/integration.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h index 2c5773c6..84c1b900 100644 --- a/libcrystfel/src/integration.h +++ b/libcrystfel/src/integration.h @@ -80,6 +80,10 @@ typedef enum { * core of the integration method */ #define INTEGRATION_METHOD_MASK (0xff) +#ifdef __cplusplus +extern "C" { +#endif + extern IntegrationMethod integration_method(const char *t, int *err); extern void integrate_all(struct image *image, IntegrationMethod meth, @@ -94,4 +98,8 @@ extern void integrate_all_2(struct image *image, IntegrationMethod meth, signed int idh, signed int idk, signed int idl); +#ifdef __cplusplus +} +#endif + #endif /* INTEGRATION_H */ |