diff options
Diffstat (limited to 'src/htsmodules.h')
-rw-r--r-- | src/htsmodules.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsmodules.h b/src/htsmodules.h index f38b4e2..18eef8e 100644 --- a/src/htsmodules.h +++ b/src/htsmodules.h @@ -115,6 +115,10 @@ struct htsmoduleStruct { }; +#ifdef __cplusplus +extern "C" { +#endif + /* Used to wrap module initialization */ /* return 1 if init was ok */ typedef int (*t_htsWrapperInit) (char *fn, char *args); @@ -133,4 +137,8 @@ extern int hts_parse_externals(htsmoduleStruct * str); extern int V6_is_available; #endif +#ifdef __cplusplus +} +#endif + #endif |