summaryrefslogtreecommitdiffstats
path: root/src/H5Adeprec.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-03-26 21:59:50 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-03-26 21:59:50 (GMT)
commit31623a4916da61e72417ccacf7d8cea6466a769e (patch)
tree5e5c8a1124926b87a08cc658b2185882c3d15618 /src/H5Adeprec.c
parent04b257f380589c9136005695921bafdb5aa940fc (diff)
downloadhdf5-31623a4916da61e72417ccacf7d8cea6466a769e.zip
hdf5-31623a4916da61e72417ccacf7d8cea6466a769e.tar.gz
hdf5-31623a4916da61e72417ccacf7d8cea6466a769e.tar.bz2
[svn-r22153] renaming some VL public variables and wrapper ID type
Diffstat (limited to 'src/H5Adeprec.c')
-rw-r--r--src/H5Adeprec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5Adeprec.c b/src/H5Adeprec.c
index 75f644f..8c3801a 100644
--- a/src/H5Adeprec.c
+++ b/src/H5Adeprec.c
@@ -47,6 +47,7 @@
#include "H5Eprivate.h" /* Error handling */
#include "H5Iprivate.h" /* IDs */
#include "H5Opkg.h" /* Object headers */
+#include "H5VLprivate.h" /* Virtual Object Layer */
/****************/
@@ -306,7 +307,7 @@ H5Aget_num_attrs(hid_t id)
{
H5O_loc_t *loc; /* Object location for attribute */
void *obj;
- H5I_t *uid_info; /* user id structure */
+ H5VL_id_wrapper_t *uid_info; /* user id structure */
hid_t loc_id;
H5I_type_t id_type;
int ret_value;
@@ -321,8 +322,8 @@ H5Aget_num_attrs(hid_t id)
that needs to go through the VOL actually go through the VOL*/
if (H5I_FILE_PUBLIC == id_type || H5I_GROUP_PUBLIC == id_type ||
H5I_DATASET_PUBLIC == id_type || H5I_DATATYPE_PUBLIC == id_type ||
- H5I_ATTRIBUTE_PUBLIC == id_type) {
- if(NULL == (uid_info = (H5I_t *)H5I_object(id)))
+ H5I_ATTR_PUBLIC == id_type) {
+ if(NULL == (uid_info = (H5VL_id_wrapper_t *)H5I_object(id)))
HGOTO_ERROR(H5E_ATOM, H5E_BADTYPE, NULL, "invalid user identifier")
loc_id = uid_info->obj_id;
}