-
Notifications
You must be signed in to change notification settings - Fork 5
/
wrapper.h
36 lines (29 loc) · 895 Bytes
/
wrapper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "htslib/htslib/hts.h"
#include "htslib/htslib/vcf.h"
#include "htslib/htslib/sam.h"
#include "htslib/htslib/hfile.h"
#include "htslib/htslib/cram.h"
#include "htslib/htslib/bgzf.h"
#include "htslib/htslib/vcfutils.h"
#include "htslib/htslib/tbx.h"
#include "htslib/htslib/synced_bcf_reader.h"
#include "htslib/htslib/kbitset.h"
#include "htslib/htslib/faidx.h"
#include "htslib/htslib/thread_pool.h"
// The following functions have to be wrapped here because they are inline in htslib.
/**
* <div rustbindgen replaces="kbs_init2"></div>
*/
kbitset_t *wrap_kbs_init2(size_t ni, int fill);
/**
* <div rustbindgen replaces="kbs_init"></div>
*/
kbitset_t *wrap_kbs_init(size_t ni);
/**
* <div rustbindgen replaces="kbs_insert"></div>
*/
void wrap_kbs_insert(kbitset_t *bs, int i);
/**
* <div rustbindgen replaces="kbs_destroy"></div>
*/
void wrap_kbs_destroy(kbitset_t *bs);