summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-30 19:52:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-30 19:52:05 (GMT)
commitb8bb79064999b5c0e1b695a7baebde63e3e27bf6 (patch)
tree17a101d8fc0c90c8c74a404af0d4100d65ac679d /hl/src
parent8d71b4cbcdc7e184b7fdb110744cd9c7d0c4b508 (diff)
downloadhdf5-b8bb79064999b5c0e1b695a7baebde63e3e27bf6.zip
hdf5-b8bb79064999b5c0e1b695a7baebde63e3e27bf6.tar.gz
hdf5-b8bb79064999b5c0e1b695a7baebde63e3e27bf6.tar.bz2
[svn-r14220] Description:
Change H5Aiterate2 -> H5Aiterate_by_name to be more consistent with other new API routine names Re-add H5Aiterate2, to operate on a particular object Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/H5IM.c2
-rw-r--r--hl/src/H5LT.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c
index 0cc79e4..fa5f87d 100644
--- a/hl/src/H5IM.c
+++ b/hl/src/H5IM.c
@@ -207,7 +207,7 @@ find_palette(hid_t loc_id, const char *name, const H5A_info_t *ainfo,
herr_t H5IM_find_palette( hid_t loc_id )
{
- return H5Aiterate2(loc_id, ".", H5_INDEX_NAME, H5_ITER_INC, NULL, find_palette, NULL, H5P_DEFAULT);
+ return H5Aiterate2(loc_id, H5_INDEX_NAME, H5_ITER_INC, NULL, find_palette, NULL);
}
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index 84b0cea..d794912 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -1423,7 +1423,7 @@ herr_t H5LTfind_attribute( hid_t loc_id, const char* attr_name )
herr_t
H5LT_find_attribute( hid_t loc_id, const char* attr_name )
{
- return H5Aiterate2(loc_id, ".", H5_INDEX_NAME, H5_ITER_INC, NULL, find_attr, (void *)attr_name, H5P_DEFAULT);
+ return H5Aiterate2(loc_id, H5_INDEX_NAME, H5_ITER_INC, NULL, find_attr, (void *)attr_name);
}