diff options
Diffstat (limited to 'src/H5A.c')
-rw-r--r-- | src/H5A.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -250,16 +250,11 @@ H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, if(NULL == (plist = (H5P_genplist_t *)H5I_object(acpl_id))) HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID") - //if((temp_id = H5T_get_named_id(type_id)) < 0) - //HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid type ID") - /* set creation properties */ 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, 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, H5VL_ATTR_LOC_PARAMS, &loc_params) < 0) - //HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for location") loc_params.type = H5VL_OBJECT_BY_SELF; loc_params.obj_type = H5I_get_type(loc_id); |