summaryrefslogtreecommitdiffstats
path: root/src/H5Tfields.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
commit9c9ee2008c10801c11bce8563894d9a30ba9a959 (patch)
treec2b89df08fa3895d3fae1a4ad87353f9aabee598 /src/H5Tfields.c
parenteb0e5f8c4ea29e674c97a8be048814e26379d4c1 (diff)
downloadhdf5-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/H5Tfields.c')
-rw-r--r--src/H5Tfields.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Tfields.c b/src/H5Tfields.c
index 43f1369..a208f75 100644
--- a/src/H5Tfields.c
+++ b/src/H5Tfields.c
@@ -47,7 +47,7 @@ DESCRIPTION
static herr_t
H5T_init_fields_interface(void)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5T_init_fields_interface)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
FUNC_LEAVE_NOAPI(H5T_init())
} /* H5T_init_fields_interface() */
@@ -79,7 +79,7 @@ H5Tget_nmembers(hid_t type_id)
H5T_t *dt; /* Datatype to query */
int ret_value; /* Return value */
- FUNC_ENTER_API(H5Tget_nmembers, FAIL)
+ FUNC_ENTER_API(FAIL)
H5TRACE1("Is", "i", type_id);
/* Check args */
@@ -119,7 +119,7 @@ H5T_get_nmembers(const H5T_t *dt)
{
int ret_value;
- FUNC_ENTER_NOAPI(H5T_get_nmembers, FAIL)
+ FUNC_ENTER_NOAPI(FAIL)
HDassert(dt);
@@ -162,7 +162,7 @@ H5Tget_member_name(hid_t type_id, unsigned membno)
H5T_t *dt = NULL;
char *ret_value;
- FUNC_ENTER_API(H5Tget_member_name, NULL)
+ FUNC_ENTER_API(NULL)
/* Check args */
if (NULL == (dt = H5I_object_verify(type_id,H5I_DATATYPE)))
@@ -200,7 +200,7 @@ H5T_get_member_name(H5T_t const *dt, unsigned membno)
{
char *ret_value;
- FUNC_ENTER_NOAPI(H5T_get_member_name, NULL)
+ FUNC_ENTER_NOAPI(NULL)
assert(dt);
@@ -251,7 +251,7 @@ H5Tget_member_index(hid_t type_id, const char *name)
int ret_value=FAIL;
unsigned i;
- FUNC_ENTER_API(H5Tget_member_index, FAIL)
+ FUNC_ENTER_API(FAIL)
H5TRACE2("Is", "i*s", type_id, name);
/* Check arguments */
@@ -308,7 +308,7 @@ H5T_sort_value(const H5T_t *dt, int *map)
unsigned i, j; /* Local index variables */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5T_sort_value, FAIL)
+ FUNC_ENTER_NOAPI(FAIL)
/* Check args */
HDassert(dt);
@@ -413,7 +413,7 @@ H5T_sort_name(const H5T_t *dt, int *map)
uint8_t tbuf[32];
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5T_sort_name, FAIL)
+ FUNC_ENTER_NOAPI(FAIL)
/* Check args */
assert(dt);