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/symmetry.h | |
parent | 73629ee82c643769ddff3caa437f9e842f353b23 (diff) |
Add extern "C" for C++ compatibility
Diffstat (limited to 'libcrystfel/src/symmetry.h')
-rw-r--r-- | libcrystfel/src/symmetry.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/symmetry.h b/libcrystfel/src/symmetry.h index a16f523e..145b5473 100644 --- a/libcrystfel/src/symmetry.h +++ b/libcrystfel/src/symmetry.h @@ -55,6 +55,10 @@ typedef struct _symoplist SymOpList; **/ typedef struct _symopmask SymOpMask; +#ifdef __cplusplus +extern "C" { +#endif + extern void free_symoplist(SymOpList *ops); extern SymOpList *get_pointgroup(const char *sym); @@ -86,4 +90,8 @@ extern int is_centric(signed int h, signed int k, signed int l, extern void add_symop(SymOpList *ops, IntegerMatrix *m); extern SymOpList *parse_symmetry_operations(const char *s); +#ifdef __cplusplus +} +#endif + #endif /* SYMMETRY_H */ |