diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-08-01 16:51:29 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-08-01 16:51:29 (GMT) |
commit | fc4bcbc21f9a530aa03e1525516507de2c8dadb5 (patch) | |
tree | 0d79d7649f3c58b67d8d0a0cfeff64b50bdcb79f /src/H5G.c | |
parent | 3ecc8c71b5f8e546f608f5d15f272c98fd593f61 (diff) | |
download | hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.zip hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.gz hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.bz2 |
[svn-r4] Changed SIZEOF_OFFSET and SIZEOF_SIZE to H5F_SIZEOF_OFFSET and
H5F_SIZEOF_SIZE. Modified files to use these instead of
accessing the hdf5_file_t struct directly.
Changed address return values from H5B to -1 for error.
Changed off_t to haddr_t for anything that's a file address.
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,7 +104,7 @@ H5G_decode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent) abort(); } - *pp = p_ret + 2*SIZEOF_OFFSET(f) + 4 + 24; + *pp = p_ret + 2*H5F_SIZEOF_OFFSET(f) + 4 + 24; return 0; } @@ -190,7 +190,7 @@ H5G_encode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent) abort(); } - *pp = p_ret + 2*SIZEOF_OFFSET(f) + 4 + 24; + *pp = p_ret + 2*H5F_SIZEOF_OFFSET(f) + 4 + 24; return 0; } |