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/image.h | |
parent | 73629ee82c643769ddff3caa437f9e842f353b23 (diff) |
Add extern "C" for C++ compatibility
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r-- | libcrystfel/src/image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h index 213bcfec..d8ffa0ff 100644 --- a/libcrystfel/src/image.h +++ b/libcrystfel/src/image.h @@ -179,6 +179,9 @@ struct image { }; +#ifdef __cplusplus +extern "C" { +#endif /* Feature lists */ extern ImageFeatureList *image_feature_list_new(void); @@ -201,4 +204,8 @@ extern struct imagefeature *image_get_feature(ImageFeatureList *flist, int idx); extern void image_add_crystal(struct image *image, Crystal *cryst); extern void free_all_crystals(struct image *image); +#ifdef __cplusplus +} +#endif + #endif /* IMAGE_H */ |