summaryrefslogtreecommitdiff
path: root/src/htsinthash.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-08 13:02:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-08 13:02:43 +0000
commit6d1544383e5c6cbf33dab7526e489a7bf58aacd3 (patch)
tree1e09d693337a6bedde4a15d6afa1f2c83e65a345 /src/htsinthash.h
parentcd268fd39ed5c64dd1c6b16e3284f10b79bf982b (diff)
Public definitions cleanup (especially for httraqt)
htsopt.h now has the following definitions: * struct htsrequest_proxy * struct htsrequest * struct htsblk * struct lien_url * struct lien_back
Diffstat (limited to 'src/htsinthash.h')
-rw-r--r--src/htsinthash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/htsinthash.h b/src/htsinthash.h
index f8aee07..a2689b6 100644
--- a/src/htsinthash.h
+++ b/src/htsinthash.h
@@ -173,6 +173,10 @@ struct struct_inthash_enum {
/* Library internal definictions */
#ifdef HTS_INTERNAL_BYTECODE
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Create a new hashtable, with initial bucket size of 'size'.
* If size is 0, use the default minimal bucket size.
@@ -377,6 +381,10 @@ inthash_keys inthash_hash_value(const char *value);
void inthash_set_global_assert_handler(t_inthash_loghandler log,
t_inthash_asserthandler fatal);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif