diff --git a/wrapper.c b/wrapper.c index a32af11..70e82f4 100644 --- a/wrapper.c +++ b/wrapper.c @@ -20,3 +20,7 @@ void wrap_kbs_destroy(kbitset_t *bs) { kbs_destroy(bs); } + +int64_t wrap_bgzf_tell(BGZF *fp) { + return bgzf_tell(fp); +} \ No newline at end of file diff --git a/wrapper.h b/wrapper.h index bf96c74..e75c8e8 100644 --- a/wrapper.h +++ b/wrapper.h @@ -11,6 +11,8 @@ #include "htslib/htslib/faidx.h" #include "htslib/htslib/thread_pool.h" +#include + // The following functions have to be wrapped here because they are inline in htslib. /** @@ -34,3 +36,9 @@ void wrap_kbs_insert(kbitset_t *bs, int i); *
*/ void wrap_kbs_destroy(kbitset_t *bs); + + +/** + *
+ */ +int64_t wrap_bgzf_tell(BGZF *fp); \ No newline at end of file