diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-07-07 19:02:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-07-07 19:02:46 (GMT) |
commit | 4e23c807585ed705173f32e374884a46e4a4f2dd (patch) | |
tree | df458773252f84a19720b4d8b3588db955f4b6d1 /src/H5G.c | |
parent | 2d5f8835fd9851c65d8e33a9c4bbe5da64d5427e (diff) | |
download | hdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.zip hdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.tar.gz hdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.tar.bz2 |
[svn-r7181] Purpose:
Version update
Description:
Removed 1.4 compatibility code in the library.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -547,35 +547,6 @@ done: * *------------------------------------------------------------------------- */ -#ifdef H5_WANT_H5_V1_4_COMPAT -int -H5Gget_objtype_by_idx(hid_t group_id, hsize_t idx) -{ - H5G_t *group = NULL; - hsize_t num_objs; - int ret_value = H5G_UNKNOWN; - - FUNC_ENTER_API(H5Gget_objtype_by_idx, FAIL); - H5TRACE2("Is","ih",group_id,idx); - - /* Check args */ - if (NULL==(group = H5I_object_verify(group_id,H5I_GROUP))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a group"); - - if (H5G_get_num_objs(group, &num_objs, H5AC_ind_dxpl_id)<0) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "unable to retrieve number of members"); - if(idx >= num_objs) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "index out of bound"); - - /*call private function*/ - ret_value = H5G_get_objtype_by_idx(group, idx, H5AC_ind_dxpl_id); - -done: - FUNC_LEAVE_API(ret_value); - -} - -#else /*H5_WANT_H5_V1_4_COMPAT*/ H5G_obj_t H5Gget_objtype_by_idx(hid_t group_id, hsize_t idx) { @@ -602,7 +573,6 @@ done: FUNC_LEAVE_API(ret_value); } -#endif /*H5_WANT_H5_V1_4_COMPAT*/ /*------------------------------------------------------------------------- |