summaryrefslogtreecommitdiffstats
path: root/src/H5Osdspace.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-07-21 21:30:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-07-21 21:30:26 (GMT)
commit7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8 (patch)
tree555f3327b4a09f973f408d857f126abcb762937f /src/H5Osdspace.c
parentc8daece13b12f9023ed7b1433b344dde9d04d2e0 (diff)
downloadhdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.zip
hdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.tar.gz
hdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.tar.bz2
[svn-r8921] Purpose: new feature
Description: This is the second step of checkin for encoding and decoding objects. H5Tencode and H5Tdecode have been committed in the previous step. H5Sencode and H5Sdecode are checked in this time. Solution: Given object ID, these functions encode and decode object information into and from binary buffer and return new object ID. They take advantage of the existing codes of object header message and encode in the same format. Platforms tested: fuss and h5committest. Misc. update: RELEASE.txt
Diffstat (limited to 'src/H5Osdspace.c')
-rw-r--r--src/H5Osdspace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c
index 7c4bb80..8fff4b0 100644
--- a/src/H5Osdspace.c
+++ b/src/H5Osdspace.c
@@ -108,7 +108,7 @@ H5O_sdspace_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *p, H5O_shared_
FUNC_ENTER_NOAPI_NOINIT(H5O_sdspace_decode);
/* check args */
- assert(f);
+ /*assert(f);*/
assert(p);
assert (!sh);
@@ -210,7 +210,7 @@ done:
--------------------------------------------------------------------------*/
static herr_t
-H5O_sdspace_encode(H5F_t UNUSED *f, uint8_t *p, const void *mesg)
+H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *mesg)
{
const H5S_extent_t *sdim = (const H5S_extent_t *) mesg;
unsigned u; /* Local counting variable */
@@ -219,7 +219,7 @@ H5O_sdspace_encode(H5F_t UNUSED *f, uint8_t *p, const void *mesg)
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_sdspace_encode);
/* check args */
- /*assert(f);*/
+ assert(f);
assert(p);
assert(sdim);