diff options
Diffstat (limited to 'libcrystfel/src/reflist.h')
-rw-r--r-- | libcrystfel/src/reflist.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/reflist.h b/libcrystfel/src/reflist.h index 692b1d44..6892d7f2 100644 --- a/libcrystfel/src/reflist.h +++ b/libcrystfel/src/reflist.h @@ -69,6 +69,10 @@ typedef struct _reflection Reflection; **/ typedef struct _reflistiterator RefListIterator; +#ifdef __cplusplus +extern "C" { +#endif + /* Creation/deletion */ extern RefList *reflist_new(void); extern void reflist_free(RefList *list); @@ -134,4 +138,8 @@ extern int tree_depth(RefList *list); extern void lock_reflection(Reflection *refl); extern void unlock_reflection(Reflection *refl); +#ifdef __cplusplus +} +#endif + #endif /* REFLIST_H */ |