summaryrefslogtreecommitdiffstats
path: root/src/H5Ocomp.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/H5Ocomp.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/H5Ocomp.c')
-rw-r--r--src/H5Ocomp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Ocomp.c b/src/H5Ocomp.c
index 1caea0c..3946d80 100644
--- a/src/H5Ocomp.c
+++ b/src/H5Ocomp.c
@@ -75,7 +75,7 @@ H5O_pline_decode(H5F_t UNUSED *f, const uint8_t *p,
unsigned version;
size_t i, j, n, name_length;
- FUNC_ENTER(H5O_pline_decode, NULL);
+ FUNC_ENTER_NOAPI(H5O_pline_decode, NULL);
/* check args */
assert(p);
@@ -178,7 +178,7 @@ H5O_pline_encode (H5F_t UNUSED *f, uint8_t *p/*out*/, const void *mesg)
const char *name=NULL;
H5Z_class_t *cls=NULL;
- FUNC_ENTER (H5O_pline_encode, FAIL);
+ FUNC_ENTER_NOAPI(H5O_pline_encode, FAIL);
/* Check args */
assert (p);
@@ -253,7 +253,7 @@ H5O_pline_copy (const void *_src, void *_dst/*out*/)
size_t i;
H5O_pline_t *ret_value = NULL;
- FUNC_ENTER (H5O_pline_copy, NULL);
+ FUNC_ENTER_NOAPI(H5O_pline_copy, NULL);
if (!dst && NULL==(dst = H5FL_ALLOC (H5O_pline_t,0))) {
HRETURN_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL,
@@ -330,7 +330,7 @@ H5O_pline_size (H5F_t UNUSED *f, const void *mesg)
const char *name = NULL;
H5Z_class_t *cls = NULL;
- FUNC_ENTER (H5O_pline_size, 0);
+ FUNC_ENTER_NOAPI(H5O_pline_size, 0);
/* Message header */
size = 1 + /*version */
@@ -381,7 +381,7 @@ H5O_pline_reset (void *mesg)
H5O_pline_t *pline = (H5O_pline_t*)mesg;
size_t i;
- FUNC_ENTER (H5O_pline_reset, FAIL);
+ FUNC_ENTER_NOAPI(H5O_pline_reset, FAIL);
assert (pline);
for (i=0; i<pline->nfilters; i++) {
@@ -412,7 +412,7 @@ H5O_pline_reset (void *mesg)
static herr_t
H5O_pline_free (void *mesg)
{
- FUNC_ENTER (H5O_pline_free, FAIL);
+ FUNC_ENTER_NOAPI(H5O_pline_free, FAIL);
assert (mesg);
@@ -445,7 +445,7 @@ H5O_pline_debug (H5F_t UNUSED *f, const void *mesg, FILE *stream,
const H5O_pline_t *pline = (const H5O_pline_t *)mesg;
size_t i, j;
- FUNC_ENTER(H5O_pline_debug, FAIL);
+ FUNC_ENTER_NOAPI(H5O_pline_debug, FAIL);
/* check args */
assert(f);