summaryrefslogtreecommitdiffstats
path: root/src/H5Oname.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/H5Oname.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/H5Oname.c')
-rw-r--r--src/H5Oname.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Oname.c b/src/H5Oname.c
index 916b0a9..cd39d24 100644
--- a/src/H5Oname.c
+++ b/src/H5Oname.c
@@ -75,7 +75,7 @@ H5O_name_decode(H5F_t UNUSED *f, const uint8_t *p,
{
H5O_name_t *mesg;
- FUNC_ENTER(H5O_name_decode, NULL);
+ FUNC_ENTER_NOAPI(H5O_name_decode, NULL);
/* check args */
assert(f);
@@ -114,7 +114,7 @@ H5O_name_encode(H5F_t UNUSED *f, uint8_t *p, const void *_mesg)
{
const H5O_name_t *mesg = (const H5O_name_t *) _mesg;
- FUNC_ENTER(H5O_name_encode, FAIL);
+ FUNC_ENTER_NOAPI(H5O_name_encode, FAIL);
/* check args */
assert(f);
@@ -150,7 +150,7 @@ H5O_name_copy(const void *_mesg, void *_dest)
const H5O_name_t *mesg = (const H5O_name_t *) _mesg;
H5O_name_t *dest = (H5O_name_t *) _dest;
- FUNC_ENTER(H5O_name_copy, NULL);
+ FUNC_ENTER_NOAPI(H5O_name_copy, NULL);
/* check args */
assert(mesg);
@@ -192,7 +192,7 @@ H5O_name_size(H5F_t UNUSED *f, const void *_mesg)
const H5O_name_t *mesg = (const H5O_name_t *) _mesg;
size_t size;
- FUNC_ENTER(H5O_name_size, 0);
+ FUNC_ENTER_NOAPI(H5O_name_size, 0);
/* check args */
assert(f);
@@ -223,7 +223,7 @@ H5O_name_reset(void *_mesg)
{
H5O_name_t *mesg = (H5O_name_t *) _mesg;
- FUNC_ENTER(H5O_name_reset, FAIL);
+ FUNC_ENTER_NOAPI(H5O_name_reset, FAIL);
/* check args */
assert(mesg);
@@ -255,7 +255,7 @@ H5O_name_debug(H5F_t UNUSED *f, const void *_mesg, FILE *stream,
{
const H5O_name_t *mesg = (const H5O_name_t *)_mesg;
- FUNC_ENTER(H5O_name_debug, FAIL);
+ FUNC_ENTER_NOAPI(H5O_name_debug, FAIL);
/* check args */
assert(f);