diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-09 03:13:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-09 03:13:27 (GMT) |
commit | 9c9ee2008c10801c11bce8563894d9a30ba9a959 (patch) | |
tree | c2b89df08fa3895d3fae1a4ad87353f9aabee598 /src/H5Tarray.c | |
parent | eb0e5f8c4ea29e674c97a8be048814e26379d4c1 (diff) | |
download | hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.zip hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.gz hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.bz2 |
[svn-r21919] Description:
Refactor function name macros and simplify the FUNC_ENTER macros, to clear
away the cruft and prepare for further cleanups.
Tested on:
Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
Diffstat (limited to 'src/H5Tarray.c')
-rw-r--r-- | src/H5Tarray.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Tarray.c b/src/H5Tarray.c index f7cddb9..714ecc9 100644 --- a/src/H5Tarray.c +++ b/src/H5Tarray.c @@ -94,7 +94,7 @@ DESCRIPTION static herr_t H5T_init_array_interface(void) { - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_init_array_interface) + FUNC_ENTER_NOAPI_NOINIT_NOERR FUNC_LEAVE_NOAPI(H5T_init()) } /* H5T_init_array_interface() */ @@ -127,7 +127,7 @@ H5Tarray_create2(hid_t base_id, unsigned ndims, const hsize_t dim[/* ndims */]) unsigned u; /* local index variable */ hid_t ret_value; /* return value */ - FUNC_ENTER_API(H5Tarray_create2, FAIL) + FUNC_ENTER_API(FAIL) H5TRACE3("i", "iIu*h", base_id, ndims, dim); /* Check args */ @@ -182,7 +182,7 @@ H5T_array_create(H5T_t *base, unsigned ndims, const hsize_t dim[/* ndims */]) H5T_t *ret_value; /* new array data type */ unsigned u; /* local index variable */ - FUNC_ENTER_NOAPI(H5T_array_create, NULL) + FUNC_ENTER_NOAPI(NULL) HDassert(base); HDassert(ndims <= H5S_MAX_RANK); @@ -239,7 +239,7 @@ H5Tget_array_ndims(hid_t type_id) H5T_t *dt; /* pointer to array datatype */ int ret_value; /* return value */ - FUNC_ENTER_API(H5Tget_array_ndims, FAIL) + FUNC_ENTER_API(FAIL) H5TRACE1("Is", "i", type_id); /* Check args */ @@ -273,7 +273,7 @@ done: int H5T_get_array_ndims(const H5T_t *dt) { - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_get_array_ndims) + FUNC_ENTER_NOAPI_NOINIT_NOERR HDassert(dt); HDassert(dt->shared->type == H5T_ARRAY); @@ -302,7 +302,7 @@ H5Tget_array_dims2(hid_t type_id, hsize_t dims[]) H5T_t *dt; /* pointer to array data type */ int ret_value; /* return value */ - FUNC_ENTER_API(H5Tget_array_dims2, FAIL) + FUNC_ENTER_API(FAIL) H5TRACE2("Is", "i*h", type_id, dims); /* Check args */ @@ -339,7 +339,7 @@ H5T_get_array_dims(const H5T_t *dt, hsize_t dims[]) unsigned u; /* Local index variable */ int ret_value; /* return value */ - FUNC_ENTER_NOAPI(H5T_get_array_dims, FAIL) + FUNC_ENTER_NOAPI(FAIL) HDassert(dt); HDassert(dt->shared->type == H5T_ARRAY); @@ -386,7 +386,7 @@ H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[/* ndims */], unsigned u; /* local index variable */ hid_t ret_value; /* return value */ - FUNC_ENTER_API(H5Tarray_create1, FAIL) + FUNC_ENTER_API(FAIL) H5TRACE4("i", "iIs*h*Is", base_id, ndims, dim, perm); /* Check args */ @@ -437,7 +437,7 @@ H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int UNUSED perm[]) H5T_t *dt; /* Array datatype to query */ int ret_value; /* return value */ - FUNC_ENTER_API(H5Tget_array_dims1, FAIL) + FUNC_ENTER_API(FAIL) H5TRACE3("Is", "i*h*Is", type_id, dims, perm); /* Check args */ |