diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-06-16 13:46:13 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-06-16 13:46:13 (GMT) |
commit | 79fe6d27f022b0124782d6e0c6eb345f2e669095 (patch) | |
tree | 42851620273b119837bc30534a836192f2904400 /src/H5Gprivate.h | |
parent | c34e8ef85220b70d3eeed352b4320710f74f4cf9 (diff) | |
parent | afb85e30e5874454fe890bb06c1a8cc67d2dc245 (diff) | |
download | hdf5-79fe6d27f022b0124782d6e0c6eb345f2e669095.zip hdf5-79fe6d27f022b0124782d6e0c6eb345f2e669095.tar.gz hdf5-79fe6d27f022b0124782d6e0c6eb345f2e669095.tar.bz2 |
[svn-r27208] merge from trunk.
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 1fa92d8..da2747d 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -47,12 +47,14 @@ * The disk size for a symbol table entry... */ #define H5G_SIZEOF_SCRATCH 16 -#define H5G_SIZEOF_ENTRY(F) \ - (H5F_SIZEOF_SIZE(F) + /*offset of name into heap */ \ - H5F_SIZEOF_ADDR(F) + /*address of object header */ \ +#define H5G_SIZEOF_ENTRY(sizeof_addr, sizeof_size) \ + ((sizeof_size) + /*offset of name into heap */ \ + (sizeof_addr) + /*address of object header */ \ 4 + /*entry type */ \ 4 + /*reserved */ \ H5G_SIZEOF_SCRATCH) /*scratch pad space */ +#define H5G_SIZEOF_ENTRY_FILE(F) \ + H5G_SIZEOF_ENTRY(H5F_SIZEOF_ADDR(F), H5F_SIZEOF_SIZE(F)) /* ========= Group Creation properties ============ */ |