X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam.h;h=a2ceb170e18e6ce135d126ef6111f7eccb54620e;hb=8cab5e6afd245a6dbbb1580dc37cd3ee36e55078;hp=6316c9b438320dc5df8751f5c1a73ed6c185b6e4;hpb=01ddec3d623b07bfe54d7c31913da79db92b4dbf;p=samtools.git diff --git a/bam.h b/bam.h index 6316c9b..a2ceb17 100644 --- a/bam.h +++ b/bam.h @@ -41,7 +41,6 @@ */ #include -#include #include #include #include @@ -600,8 +599,9 @@ extern "C" { @param ref_id the returned chromosome ID @param begin the returned start coordinate @param end the returned end coordinate + @return 0 on success; -1 on failure */ - void bam_parse_region(bam_header_t *header, const char *str, int *ref_id, int *begin, int *end); + int bam_parse_region(bam_header_t *header, const char *str, int *ref_id, int *begin, int *end); /*! @abstract Retrieve data of a tag