diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-28 17:14:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-28 17:14:35 (GMT) |
commit | a39e0ef324c57105c09e84f4aee878595a320a41 (patch) | |
tree | 401eaf34c9864657784d486b79c2cae1da1b0614 /src/H5G.c | |
parent | e8d5c25431dd926d04f35cc06ab2027db86869cf (diff) | |
download | hdf5-a39e0ef324c57105c09e84f4aee878595a320a41.zip hdf5-a39e0ef324c57105c09e84f4aee878595a320a41.tar.gz hdf5-a39e0ef324c57105c09e84f4aee878595a320a41.tar.bz2 |
[svn-r47] Finished flashing out the H5M* functions calls. Cleaned up non-compiling
source. Finished adding in remainder of H5Osdtyp.c functions.
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1117,7 +1117,9 @@ H5G_decode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent) break; case H5G_CACHED_SDATA: - UINT32DECODE (*pp, ent->cache.sdata.nt); + ent->cache.sdata.nt.length= *(*pp)++; + ent->cache.sdata.nt.arch= *(*pp)++; + UINT16DECODE (*pp, ent->cache.sdata.nt.type); UINT32DECODE (*pp, ent->cache.sdata.ndim); UINT32DECODE (*pp, ent->cache.sdata.dim[0]); UINT32DECODE (*pp, ent->cache.sdata.dim[1]); @@ -1228,7 +1230,9 @@ H5G_encode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent) break; case H5G_CACHED_SDATA: - UINT32ENCODE (*pp, ent->cache.sdata.nt); + *(*pp)++= ent->cache.sdata.nt.length; + *(*pp)++= ent->cache.sdata.nt.arch; + UINT16ENCODE (*pp, ent->cache.sdata.nt.type); UINT32ENCODE (*pp, ent->cache.sdata.ndim); UINT32ENCODE (*pp, ent->cache.sdata.dim[0]); UINT32ENCODE (*pp, ent->cache.sdata.dim[1]); |