projects
/
samtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d255564
)
razf.h: added RAZF_STRUCT_SIZE macro
author
Henry Amrhein
<hamrhein@caltech.edu>
Tue, 15 Jan 2013 22:54:24 +0000
(14:54 -0800)
committer
Henry Amrhein
<hamrhein@caltech.edu>
Tue, 15 Jan 2013 22:54:24 +0000
(14:54 -0800)
razf.h
patch
|
blob
|
history
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