diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 13:58:57 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 13:58:57 +0000 |
commit | f509bed5beb933b6c1effc5f77d7e7058669b5f8 (patch) | |
tree | 899e47476976306f02accb787614c13780e45e41 | |
parent | 6d1544383e5c6cbf33dab7526e489a7bf58aacd3 (diff) |
__cplusplus
-rw-r--r-- | src/htsdefines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsdefines.h b/src/htsdefines.h index 2a63553..fe5105f 100644 --- a/src/htsdefines.h +++ b/src/htsdefines.h @@ -231,8 +231,16 @@ struct t_hts_callback_ref { size_t offset; }; +#ifdef __cplusplus +extern "C" { +#endif + extern const t_hts_htmlcheck_callbacks default_callbacks; +#ifdef __cplusplus +} +#endif + #define HT_PRINT(A) strcatbuff(opt->state.HTbuff,A); #define HT_REQUEST_START opt->state.HTbuff[0]='\0'; #define HT_REQUEST_END |