diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-29 15:12:25 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-29 15:12:25 (GMT) |
commit | 930dd4f8918dd3c60f69f4e4bb32b27da91a60f8 (patch) | |
tree | 00342c4d6baa380ac7fea0c49d03178a66ef5a8c /src/H5A.c | |
parent | 485dcbd4026b0d68df1b075fba9415d83c9eb554 (diff) | |
download | hdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.zip hdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.tar.gz hdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.tar.bz2 |
[svn-r22417] rename the properties used for the VOL callbacks.
move them to the VOL public header.
Diffstat (limited to 'src/H5A.c')
-rw-r--r-- | src/H5A.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -239,11 +239,11 @@ H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID") /* set creation properties */ - if(H5P_set(plist, H5A_CRT_TYPE_ID_NAME, &type_id) < 0) + if(H5P_set(plist, H5VL_ATTR_TYPE_ID, &type_id) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for datatype id") - if(H5P_set(plist, H5A_CRT_SPACE_ID_NAME, &space_id) < 0) + if(H5P_set(plist, H5VL_ATTR_SPACE_ID, &space_id) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for space id") - if(H5P_set(plist, H5A_CRT_LOCATION_NAME, &location) < 0) + if(H5P_set(plist, H5VL_ATTR_LOCATION, &location) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for location") /* Create the attribute through the VOL */ @@ -321,11 +321,11 @@ H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID") /* set creation properties */ - if(H5P_set(plist, H5A_CRT_TYPE_ID_NAME, &type_id) < 0) + if(H5P_set(plist, H5VL_ATTR_TYPE_ID, &type_id) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for datatype id") - if(H5P_set(plist, H5A_CRT_SPACE_ID_NAME, &space_id) < 0) + if(H5P_set(plist, H5VL_ATTR_SPACE_ID, &space_id) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for space id") - if(H5P_set(plist, H5A_CRT_LOCATION_NAME, &location) < 0) + if(H5P_set(plist, H5VL_ATTR_LOCATION, &location) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for location") /* Create the attribute through the VOL */ |