]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
* samtools-0.1.3-21 (286)
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index a784a1f3f7f919d38e771a38a1a2d7b5d35cde2e..eb4a375bdc236d9954ef69975f101ea07741fac4 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -190,7 +190,6 @@ typedef struct {
        bam1_core_t core;
        int l_aux, data_len, m_data;
        uint8_t *data;
-       void *hash; // for backward compatibility. It is NEVER used.
 } bam1_t;
 
 #define bam1_strand(b) (((b)->core.flag&BAM_FREVERSE) != 0)
@@ -593,6 +592,7 @@ extern "C" {
        void bam_parse_region(bam_header_t *header, const char *str, int *ref_id, int *begin, int *end);
 
        void bam_aux_append(bam1_t *b, const char tag[2], char type, int len, uint8_t *data);
+       uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2]); // an alias of bam_aux_get()
        uint8_t *bam_aux_get(bam1_t *b, const char tag[2]);
        int32_t bam_aux2i(const uint8_t *s);
        float bam_aux2f(const uint8_t *s);