summaryrefslogtreecommitdiffstats
path: root/src/H5Aprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-24 15:32:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-24 15:32:46 (GMT)
commitde68722fb97bdbd063224bcbb984bed32ba8c27e (patch)
treef5084fa68977d4a0130bea45bd997d6b46be416d /src/H5Aprivate.h
parent5fdfe1b206dd25ff0ea3f7a74700a3a9c79f6cc2 (diff)
downloadhdf5-de68722fb97bdbd063224bcbb984bed32ba8c27e.zip
hdf5-de68722fb97bdbd063224bcbb984bed32ba8c27e.tar.gz
hdf5-de68722fb97bdbd063224bcbb984bed32ba8c27e.tar.bz2
[svn-r108] Changed all hatom_t types to hid_t. (Isn't 'sed' nifty.. :-)
Diffstat (limited to 'src/H5Aprivate.h')
-rw-r--r--src/H5Aprivate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Aprivate.h b/src/H5Aprivate.h
index 09371d1..97b8688 100644
--- a/src/H5Aprivate.h
+++ b/src/H5Aprivate.h
@@ -41,19 +41,19 @@
#endif
/* Map an atom to a Group number */
-#define ATOM_TO_GROUP(a) ((group_t)((((hatom_t)(a))>>((sizeof(hatom_t)*8)-GROUP_BITS))&GROUP_MASK))
+#define ATOM_TO_GROUP(a) ((group_t)((((hid_t)(a))>>((sizeof(hid_t)*8)-GROUP_BITS))&GROUP_MASK))
#ifdef HASH_SIZE_POWER_2
/*
* Map an atom to a hash location (assumes s is a power of 2 and smaller
* than the ATOM_MASK constant).
*/
-# define ATOM_TO_LOC(a,s) ((hatom_t)(a)&((s)-1))
+# define ATOM_TO_LOC(a,s) ((hid_t)(a)&((s)-1))
#else
/*
* Map an atom to a hash location.
*/
-# define ATOM_TO_LOC(a,s) (((hatom_t)(a)&ATOM_MASK)%(s))
+# define ATOM_TO_LOC(a,s) (((hid_t)(a)&ATOM_MASK)%(s))
#endif
/* Default sizes of the hash-tables for various atom groups */
@@ -67,7 +67,7 @@
/* Atom information structure used */
typedef struct atom_info_struct_tag {
- hatom_t id; /* atom ID for this info */
+ hid_t id; /* atom ID for this info */
VOIDP *obj_ptr; /* pointer associated with the atom */
struct atom_info_struct_tag *next; /* link to next atom (in case of hash-clash) */
}atom_info_t;