]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
* samtools-0.1.4-21 (r368)
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index 6316c9b438320dc5df8751f5c1a73ed6c185b6e4..a2ceb170e18e6ce135d126ef6111f7eccb54620e 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -41,7 +41,6 @@
  */
 
 #include <stdint.h>
-#include <assert.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -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