projects
/
samtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
razf.h: added RAZF_STRUCT_SIZE macro
[samtools.git]
/
razf.h
diff --git
a/razf.h
b/razf.h
index 60a0c96457304ec5a728a5dcddb61e1f649e5637..d0f93ecc09869af0d355e7e5b1fce3e59a472b42 100644
(file)
--- a/
razf.h
+++ b/
razf.h
@@
-127,6
+127,8
@@
extern "C" {
uint64_t razf_tell2(RAZF *rz);
int64_t razf_seek2(RAZF *rz, uint64_t voffset, int where);
+#define RAZF_STRUCT_SIZE (sizeof(RAZF) + sizeof(z_stream) + (RZ_BUFFER_SIZE * 2) + sizeof(ZBlockIndex) + sizeof(gz_header) + 7)
+
#ifdef __cplusplus
}
#endif