Skip to content

Commit

Permalink
inline func
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Nov 2, 2023
1 parent f7bb15b commit cbb34dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slow5_press.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ static inline void do_rev_qts_inplace(int16_t *s, uint64_t n, uint8_t q){
}


static uint8_t *ptr_compress_ex_zd_v0(const int16_t *ptr, size_t count, size_t *n) {
static inline uint8_t *ptr_compress_ex_zd_v0(const int16_t *ptr, size_t count, size_t *n) {

uint64_t nin = count / sizeof *ptr;
const int16_t *in = ptr;
Expand Down Expand Up @@ -1767,7 +1767,7 @@ static uint8_t *ptr_compress_ex_zd(const int16_t *ptr, size_t count, size_t *n)
return ptr_compress_ex_zd_v0(ptr, count, n);
}

static int16_t *ptr_depress_ex_zd_v0(const uint8_t *ptr, size_t count, size_t *n){
static inline int16_t *ptr_depress_ex_zd_v0(const uint8_t *ptr, size_t count, size_t *n){

uint64_t nout;
uint64_t offset = 0;
Expand Down

0 comments on commit cbb34dd

Please sign in to comment.