diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 20:44:39 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 20:44:39 (GMT) |
commit | dc1343a0d3300ae537adbdc4c0b8f342f37e09e4 (patch) | |
tree | a0565f0d40a8e8dd1e4d7efc75e7079fd5452a60 /src/H5L.c | |
parent | 364471d19e935bed37e18ce78f3ceaf65cd50f29 (diff) | |
download | hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.zip hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.tar.gz hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.tar.bz2 |
[svn-r22380] - attribute and object exist callbacks should be part of get structs
- fix bug in passing req parameter
- free location in H5Rdereference
- add datatype close callback
- H5VL_CREATE_LINK_XXX should be H5VL_LINK_CREATE_XXX
Diffstat (limited to 'src/H5L.c')
-rw-r--r-- | src/H5L.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -433,7 +433,7 @@ H5Lcreate_soft(const char *link_target, HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value for target name") /* Create the link through the VOL */ - if((ret_value = H5VL_link_create(H5VL_CREATE_SOFT_LINK, link_loc_id, link_name, + if((ret_value = H5VL_link_create(H5VL_LINK_CREATE_SOFT, link_loc_id, link_name, lcpl_id, lapl_id, H5_REQUEST_NULL)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to create link") @@ -494,7 +494,7 @@ H5Lcreate_hard(hid_t cur_loc_id, const char *cur_name, HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for target name") /* Create the link through the VOL */ - if((ret_value = H5VL_link_create(H5VL_CREATE_HARD_LINK, new_loc_id, new_name, + if((ret_value = H5VL_link_create(H5VL_LINK_CREATE_HARD, new_loc_id, new_name, lcpl_id, lapl_id, H5_REQUEST_NULL)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to create link") @@ -561,7 +561,7 @@ H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist") /* Create the link through the VOL */ - if((ret_value = H5VL_link_create(H5VL_CREATE_UD_LINK, link_loc_id, link_name, + if((ret_value = H5VL_link_create(H5VL_LINK_CREATE_UD, link_loc_id, link_name, lcpl_id, lapl_id, H5_REQUEST_NULL)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to create link") |