summaryrefslogtreecommitdiffstats
path: root/src/H5Ddeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-04-08 16:09:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-04-08 16:09:17 (GMT)
commitde68c607843fbfa55f94a661cf8cf58ad09adc0c (patch)
tree8185120942d326db8f36ea6ce964f6974ca57659 /src/H5Ddeprec.c
parentb7f6a65f7458ba351a55206abcbdc89f3c721f4b (diff)
downloadhdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.zip
hdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.tar.gz
hdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.tar.bz2
[svn-r14811] Description:
Add "_META" suffix to FUNC_ENTER/FUNC_LEAVE API routines that can modify metadata in the file. This will give us a single place to change to recording the beginning & ending of transactions. Tested on: FreeBSD/32 6.2 (duty) Too simple to require h5committest
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r--src/H5Ddeprec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c
index f0d7487..7d6cc02 100644
--- a/src/H5Ddeprec.c
+++ b/src/H5Ddeprec.c
@@ -147,7 +147,7 @@ H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
const H5S_t *space; /* Dataspace for dataset */
hid_t ret_value; /* Return value */
- FUNC_ENTER_API(H5Dcreate1, FAIL)
+ FUNC_ENTER_API_META(H5Dcreate1, FAIL)
H5TRACE5("i", "i*siii", loc_id, name, type_id, space_id, dcpl_id);
/* Check arguments */
@@ -179,7 +179,7 @@ done:
if(dset && H5D_close(dset) < 0)
HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to release dataset")
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Dcreate1() */
@@ -284,7 +284,7 @@ H5Dextend(hid_t dset_id, const hsize_t *size)
H5D_t *dset;
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Dextend, FAIL)
+ FUNC_ENTER_API_META(H5Dextend, FAIL)
H5TRACE2("e", "i*h", dset_id, size);
/* Check args */
@@ -298,7 +298,7 @@ H5Dextend(hid_t dset_id, const hsize_t *size)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to extend dataset")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Dextend() */