summaryrefslogtreecommitdiffstats
path: root/src/H5Ostab.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/H5Ostab.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/H5Ostab.c')
-rw-r--r--src/H5Ostab.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Ostab.c b/src/H5Ostab.c
index cec6c6f..76aef3b 100644
--- a/src/H5Ostab.c
+++ b/src/H5Ostab.c
@@ -79,7 +79,7 @@ H5O_stab_decode(H5F_t *f, const uint8_t *p, H5O_shared_t UNUSED *sh)
{
H5O_stab_t *stab;
- FUNC_ENTER(H5O_stab_decode, NULL);
+ FUNC_ENTER_NOAPI(H5O_stab_decode, NULL);
/* check args */
assert(f);
@@ -117,7 +117,7 @@ H5O_stab_encode(H5F_t *f, uint8_t *p, const void *_mesg)
{
const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
- FUNC_ENTER(H5O_stab_encode, FAIL);
+ FUNC_ENTER_NOAPI(H5O_stab_encode, FAIL);
/* check args */
assert(f);
@@ -155,7 +155,7 @@ H5O_stab_fast(const H5G_cache_t *cache, const H5O_class_t *type, void *_mesg)
{
H5O_stab_t *stab = NULL;
- FUNC_ENTER(H5O_stab_fast, NULL);
+ FUNC_ENTER_NOAPI(H5O_stab_fast, NULL);
/* check args */
assert(cache);
@@ -198,7 +198,7 @@ H5O_stab_copy(const void *_mesg, void *_dest)
const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
H5O_stab_t *dest = (H5O_stab_t *) _dest;
- FUNC_ENTER(H5O_stab_copy, NULL);
+ FUNC_ENTER_NOAPI(H5O_stab_copy, NULL);
/* check args */
assert(stab);
@@ -235,7 +235,7 @@ H5O_stab_copy(const void *_mesg, void *_dest)
static size_t
H5O_stab_size(H5F_t *f, const void UNUSED *_mesg)
{
- FUNC_ENTER(H5O_stab_size, 0);
+ FUNC_ENTER_NOAPI(H5O_stab_size, 0);
FUNC_LEAVE(2 * H5F_SIZEOF_ADDR(f));
}
@@ -257,7 +257,7 @@ H5O_stab_size(H5F_t *f, const void UNUSED *_mesg)
static herr_t
H5O_stab_free (void *mesg)
{
- FUNC_ENTER (H5O_stab_free, FAIL);
+ FUNC_ENTER_NOAPI(H5O_stab_free, FAIL);
assert (mesg);
@@ -288,7 +288,7 @@ H5O_stab_debug(H5F_t UNUSED *f, const void *_mesg, FILE * stream,
{
const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
- FUNC_ENTER(H5O_stab_debug, FAIL);
+ FUNC_ENTER_NOAPI(H5O_stab_debug, FAIL);
/* check args */
assert(f);