X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bgzf.h;h=2a70bb902771d937432602045842bf7e0cf1711c;hb=d46afb500a437323dda82920f9fb18324b2dbec0;hp=7d928a70f79a2261ebd8379ec9da7b9f9694963f;hpb=e50413dd979a616b604914afd2488a308359ec6a;p=samtools.git diff --git a/bgzf.h b/bgzf.h index 7d928a7..2a70bb9 100644 --- a/bgzf.h +++ b/bgzf.h @@ -1,7 +1,7 @@ /* The MIT License Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology - 2011 Attractive Chaos + 2011, 2012 Attractive Chaos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -32,7 +32,7 @@ #include #include -#define BGZF_BLOCK_SIZE 0xff00 +#define BGZF_BLOCK_SIZE 0xff00 // make sure compressBound(BGZF_BLOCK_SIZE) < BGZF_MAX_BLOCK_SIZE #define BGZF_MAX_BLOCK_SIZE 0x10000 #define BGZF_ERR_ZLIB 1 @@ -190,7 +190,7 @@ extern "C" { */ int bgzf_read_block(BGZF *fp); - void bgzf_mt(BGZF *fp, int n_threads, int n_sub_blks); + int bgzf_mt(BGZF *fp, int n_threads, int n_sub_blks); #ifdef __cplusplus }