summaryrefslogtreecommitdiffstats
path: root/src/H5Rpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:20:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:20:57 (GMT)
commitf3c2fbaff555ea11be81d55c83f6f31bb59d633b (patch)
tree38c7fb0569bebc5ce1254cd84b292ec20220e642 /src/H5Rpublic.h
parent2e1ef03cef0058566c4ab4f8f2490760f776b0a8 (diff)
downloadhdf5-f3c2fbaff555ea11be81d55c83f6f31bb59d633b.zip
hdf5-f3c2fbaff555ea11be81d55c83f6f31bb59d633b.tar.gz
hdf5-f3c2fbaff555ea11be81d55c83f6f31bb59d633b.tar.bz2
[svn-r7318] Purpose:
Code cleanup Description: Switched 'hobj_ref_t' from funny structure with array inside to just be 'haddr_t', since that was equivalent and less confusing. Platforms tested: h5committested
Diffstat (limited to 'src/H5Rpublic.h')
-rw-r--r--src/H5Rpublic.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/H5Rpublic.h b/src/H5Rpublic.h
index b567791..c40fd16 100644
--- a/src/H5Rpublic.h
+++ b/src/H5Rpublic.h
@@ -50,10 +50,7 @@ typedef struct {
*/
#define H5R_OBJ_REF_BUF_SIZE sizeof(haddr_t)
/* Object reference structure for user's code */
-typedef struct {
- unsigned char oid[H5R_OBJ_REF_BUF_SIZE]; /* Buffer to store OID of object referenced */
- /* Needs to be large enough to store largest haddr_t in a worst case machine (ie. 8 bytes currently) */
-} hobj_ref_t;
+typedef haddr_t hobj_ref_t; /* Needs to be large enough to store largest haddr_t in a worst case machine (ie. 8 bytes currently) */
#define H5R_DSET_REG_REF_BUF_SIZE (sizeof(haddr_t)+sizeof(int))
/* Dataset Region reference structure for user's code */