make sdust work (it didn't)

This commit is contained in:
Heng Li
2017-04-07 10:45:50 -04:00
parent bacb7534d2
commit 0f160151c7
2 changed files with 7 additions and 11 deletions

View File

@@ -9,10 +9,10 @@ extern "C" {
#endif
// the simple interface
uint64_t *sdust(const uint8_t *seq, int l_seq, int T, int W, int *n);
uint64_t *sdust(void *km, const uint8_t *seq, int l_seq, int T, int W, int *n);
// the following interface dramatically reduce heap allocations when sdust is frequently called.
sdust_buf_t *sdust_buf_init(void);
sdust_buf_t *sdust_buf_init(void *km);
void sdust_buf_destroy(sdust_buf_t *buf);
const uint64_t *sdust_core(const uint8_t *seq, int l_seq, int T, int W, int *n, sdust_buf_t *buf);