summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-05-29 15:07:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-05-29 15:07:55 (GMT)
commite69e970a1c71621c39a5f5fa656a185948ed1df8 (patch)
tree6d62761aa80d47e1713786bdeadabed02cc3c8f0 /src/H5Oattr.c
parent0ba943194ec2c8b74bbfd6531ee7a9b110803974 (diff)
downloadhdf5-e69e970a1c71621c39a5f5fa656a185948ed1df8.zip
hdf5-e69e970a1c71621c39a5f5fa656a185948ed1df8.tar.gz
hdf5-e69e970a1c71621c39a5f5fa656a185948ed1df8.tar.bz2
[svn-r5471] Purpose:
Code cleanup Description: Broke the FUNC_ENTER macro into several macros, with more specialized uses (which followup mail will describe). This was designed to move most/all of the checks which could be done at compile time to that point, instead of needlessly performing them (over & over :-) at run-time. This reduces the library's size (and thus staticly linked binaries) and has a minor speedup effect also. Platforms tested: IRIX64 6.5 (modi4) with parallel & FORTRAN enabled, and additional testing on FreeBSD and Solaris immediately after the checkin.
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c
index 951ffbb..d1f4c74 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -96,7 +96,7 @@ H5O_attr_decode(H5F_t *f, const uint8_t *p, H5O_shared_t UNUSED *sh)
size_t name_len; /*attribute name length */
int version; /*message version number*/
- FUNC_ENTER(H5O_attr_decode, NULL);
+ FUNC_ENTER_NOAPI(H5O_attr_decode, NULL);
/* check args */
assert(f);
@@ -194,7 +194,7 @@ H5O_attr_encode(H5F_t *f, uint8_t *p, const void *mesg)
const H5A_t *attr = (const H5A_t *) mesg;
size_t name_len; /* Attribute name length */
- FUNC_ENTER(H5O_attr_encode, FAIL);
+ FUNC_ENTER_NOAPI(H5O_attr_encode, FAIL);
/* check args */
assert(f);
@@ -268,7 +268,7 @@ H5O_attr_copy(const void *_src, void *_dst)
const H5A_t *src = (const H5A_t *) _src;
H5A_t *dst = NULL;
- FUNC_ENTER(H5O_attr_copy, NULL);
+ FUNC_ENTER_NOAPI(H5O_attr_copy, NULL);
/* check args */
assert(src);
@@ -313,7 +313,7 @@ H5O_attr_size(H5F_t UNUSED *f, const void *mesg)
size_t name_len;
const H5A_t *attr = (const H5A_t *) mesg;
- FUNC_ENTER(H5O_attr_size, 0);
+ FUNC_ENTER_NOAPI(H5O_attr_size, 0);
assert(attr);
@@ -353,7 +353,7 @@ H5O_attr_reset(void *_mesg)
H5A_t *attr = (H5A_t *) _mesg;
H5A_t *tmp = NULL;
- FUNC_ENTER(H5O_attr_reset, FAIL);
+ FUNC_ENTER_NOAPI(H5O_attr_reset, FAIL);
if (attr) {
if (NULL==(tmp = H5MM_malloc(sizeof(H5A_t)))) {
@@ -391,7 +391,7 @@ H5O_attr_debug(H5F_t *f, const void *_mesg, FILE * stream, int indent,
{
const H5A_t *mesg = (const H5A_t *)_mesg;
- FUNC_ENTER(H5O_attr_debug, FAIL);
+ FUNC_ENTER_NOAPI(H5O_attr_debug, FAIL);
/* check args */
assert(f);