diff options
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index 78c27b44..d7108439 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -73,6 +73,9 @@ typedef enum { } StreamReadFlags; +#ifdef __cplusplus +extern "C" { +#endif extern Stream *open_stream_for_read(const char *filename); extern Stream *open_stream_for_write(const char *filename); @@ -90,4 +93,8 @@ extern void write_command(Stream *st, int argc, char *argv[]); extern int rewind_stream(Stream *st); extern int is_stream(const char *filename); +#ifdef __cplusplus +} +#endif + #endif /* STREAM_H */ |