summaryrefslogtreecommitdiff
path: root/src/htslib.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-07-07 14:33:33 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-07-07 14:33:33 +0000
commit57c732da58ab13485f83f890369126ccc3e1228c (patch)
treec7bed830727a972e916955d2c930f78131287398 /src/htslib.c
parent87c2781ecc23cf3175e01a5f845e4a117c176ce0 (diff)
Added hts_version()
Diffstat (limited to 'src/htslib.c')
-rw-r--r--src/htslib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/htslib.c b/src/htslib.c
index f66c98b..aac4e25 100644
--- a/src/htslib.c
+++ b/src/htslib.c
@@ -5250,6 +5250,10 @@ static void hts_debug_log_print(const char *format, ...) {
}
}
+HTSEXT_API const char* hts_version(void) {
+ return HTTRACK_VERSIONID;
+}
+
static int hts_init_ok = 0;
HTSEXT_API int hts_init(void) {
const char *dbg_env;