diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-24 15:32:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-24 15:32:46 (GMT) |
commit | de68722fb97bdbd063224bcbb984bed32ba8c27e (patch) | |
tree | f5084fa68977d4a0130bea45bd997d6b46be416d /test | |
parent | 5fdfe1b206dd25ff0ea3f7a74700a3a9c79f6cc2 (diff) | |
download | hdf5-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 'test')
-rw-r--r-- | test/tfile.c | 8 | ||||
-rw-r--r-- | test/th5d.c | 26 | ||||
-rw-r--r-- | test/th5p.c | 4 | ||||
-rw-r--r-- | test/th5t.c | 6 | ||||
-rw-r--r-- | test/theap.c | 2 | ||||
-rw-r--r-- | test/tohdr.c | 2 | ||||
-rw-r--r-- | test/tstab.c | 4 |
7 files changed, 26 insertions, 26 deletions
diff --git a/test/tfile.c b/test/tfile.c index 90a5883..5d32925 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -61,8 +61,8 @@ static const uintn btree_k_default_g[] = H5C_BTREE_K_DEFAULT; ****************************************************************/ static void test_file_create(void) { - hatom_t fid1,fid2,fid3; /* HDF5 File IDs */ - hatom_t tmpl1,tmpl2; /* File creation templates */ + hid_t fid1,fid2,fid3; /* HDF5 File IDs */ + hid_t tmpl1,tmpl2; /* File creation templates */ uintn parm; /* File-creation parameters */ uint8 parm2; /* File-creation parameters */ herr_t ret; /* Generic return value */ @@ -240,8 +240,8 @@ static void test_file_create(void) ****************************************************************/ static void test_file_open(void) { - hatom_t fid1; /* HDF5 File IDs */ - hatom_t tmpl1; /* File creation templates */ + hid_t fid1; /* HDF5 File IDs */ + hid_t tmpl1; /* File creation templates */ uintn parm; /* File-creation parameters */ uint8 parm2; /* File-creation parameters */ herr_t ret; /* Generic return value */ diff --git a/test/th5d.c b/test/th5d.c index 90e1234..7cf2b39 100644 --- a/test/th5d.c +++ b/test/th5d.c @@ -76,14 +76,14 @@ float64 data2[SPACE2_DIM1][SPACE2_DIM2][SPACE2_DIM3][SPACE2_DIM4]= ****************************************************************/ static void test_h5d_basic_write(void) { - hatom_t fid1; /* HDF5 File IDs */ - hatom_t did1; /* Dataset ID */ - hatom_t tid1; /* Datatype ID */ - hatom_t sid1; /* Dataspace ID */ + hid_t fid1; /* HDF5 File IDs */ + hid_t did1; /* Dataset ID */ + hid_t tid1; /* Datatype ID */ + hid_t sid1; /* Dataspace ID */ uint32 dims1[]={SPACE1_DIM1,SPACE1_DIM2,SPACE1_DIM3}; /* dataspace dim sizes */ - hatom_t did2; /* Dataset ID */ - hatom_t tid2; /* Datatype ID */ - hatom_t sid2; /* Dataspace ID */ + hid_t did2; /* Dataset ID */ + hid_t tid2; /* Datatype ID */ + hid_t sid2; /* Dataspace ID */ uint32 dims2[]={SPACE2_DIM1,SPACE2_DIM2,SPACE2_DIM3,SPACE2_DIM4}; /* dataspace dim sizes */ herr_t ret; /* Generic return value */ @@ -166,16 +166,16 @@ static void test_h5d_basic_write(void) ****************************************************************/ static void test_h5d_basic_read(void) { - hatom_t fid1; /* HDF5 File IDs */ + hid_t fid1; /* HDF5 File IDs */ #if 0 - hatom_t oid1; /* Dataset OID */ + hid_t oid1; /* Dataset OID */ #endif - hatom_t did1; /* Dataset ID */ - hatom_t tid1; /* Datatype ID */ - hatom_t sid1; /* Dataspace ID */ + hid_t did1; /* Dataset ID */ + hid_t tid1; /* Datatype ID */ + hid_t sid1; /* Dataspace ID */ void *buf; /* space for the buffer read */ uint32 buf_size; /* size of the buffer to read */ - hatom_t type; /* Datatype's base type */ + hid_t type; /* Datatype's base type */ uint8 len, arch; /* Datatype's length and architecture */ uintn n; /* number of dataspace elements */ herr_t ret; /* Generic return value */ diff --git a/test/th5p.c b/test/th5p.c index 211ea69..94eeb3b 100644 --- a/test/th5p.c +++ b/test/th5p.c @@ -55,8 +55,8 @@ static char RcsId[] = "$Revision$"; ****************************************************************/ static void test_h5p_basic(void) { - hatom_t fid1; /* HDF5 File IDs */ - hatom_t sid1,sid2; /* Dataspace ID */ + hid_t fid1; /* HDF5 File IDs */ + hid_t sid1,sid2; /* Dataspace ID */ uint32 dims1[]={SPACE1_DIM1,SPACE1_DIM2,SPACE1_DIM3}, /* dataspace dim sizes */ dims2[]={SPACE2_DIM1,SPACE2_DIM2,SPACE2_DIM3,SPACE2_DIM4}; uintn n; /* number of dataspace elements */ diff --git a/test/th5t.c b/test/th5t.c index 1570de9..efed783 100644 --- a/test/th5t.c +++ b/test/th5t.c @@ -50,9 +50,9 @@ static char RcsId[] = "$Revision$"; ****************************************************************/ static void test_h5t_basic(void) { - hatom_t fid1; /* HDF5 File IDs */ - hatom_t tid1,tid2; /* Datatype ID */ - hatom_t type; /* Datatype's base type */ + hid_t fid1; /* HDF5 File IDs */ + hid_t tid1,tid2; /* Datatype ID */ + hid_t type; /* Datatype's base type */ uint8 len, arch; /* Datatype's length and architecture */ herr_t ret; /* Generic return value */ diff --git a/test/theap.c b/test/theap.c index 7f9b642..fd2467b 100644 --- a/test/theap.c +++ b/test/theap.c @@ -43,7 +43,7 @@ void test_heap (void) { int i, j; - hatom_t fid; + hid_t fid; hdf5_file_t *f; off_t heap; char buf[NOBJS+8]; diff --git a/test/tohdr.c b/test/tohdr.c index f3ddb22..890b307 100644 --- a/test/tohdr.c +++ b/test/tohdr.c @@ -47,7 +47,7 @@ void test_ohdr (void) { - hatom_t fid; + hid_t fid; hdf5_file_t *f; haddr_t oh; H5O_stab_t stab, ro; diff --git a/test/tstab.c b/test/tstab.c index 573c7a9..945f0cf 100644 --- a/test/tstab.c +++ b/test/tstab.c @@ -49,7 +49,7 @@ static void test_1 (void) { - hatom_t fid; + hid_t fid; hdf5_file_t *f; H5G_entry_t *obj1=NULL, *obj2=NULL; H5G_entry_t ent1, dir_ent; @@ -223,7 +223,7 @@ test_1 (void) static void test_2 (void) { - hatom_t fid; + hid_t fid; hdf5_file_t *f; H5G_entry_t cwd, sub; H5G_entry_t *obj1=NULL; |