X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam.h;h=fb71a49b46dafea0512a99e157735104cd3832a3;hb=a958954399757774ee26bfcf0b5b95e9ec9b62f4;hp=f6d31a922b12a413528950c2288f4e28a7284215;hpb=4967051aa734ece6ce44f0fb891a936e849c2fe2;p=samtools.git diff --git a/bam.h b/bam.h index f6d31a9..fb71a49 100644 --- a/bam.h +++ b/bam.h @@ -190,7 +190,7 @@ typedef struct { uint8_t *data; } bam1_t; -typedef struct __bam_iterf_t *bam_iterf_t; +typedef struct __bam_iter_t *bam_iter_t; #define bam1_strand(b) (((b)->core.flag&BAM_FREVERSE) != 0) #define bam1_mstrand(b) (((b)->core.flag&BAM_FMREVERSE) != 0) @@ -594,9 +594,9 @@ extern "C" { */ int bam_fetch(bamFile fp, const bam_index_t *idx, int tid, int beg, int end, void *data, bam_fetch_f func); - bam_iterf_t bam_iterf_query(const bam_index_t *idx, int tid, int beg, int end); - int bam_iterf_read(bamFile fp, bam_iterf_t iter, bam1_t *b); - void bam_iterf_destroy(bam_iterf_t iter); + bam_iter_t bam_iter_query(const bam_index_t *idx, int tid, int beg, int end); + int bam_iter_read(bamFile fp, bam_iter_t iter, bam1_t *b); + void bam_iter_destroy(bam_iter_t iter); /*! @abstract Parse a region in the format: "chr2:100,000-200,000".