summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.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/H5Dcontig.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/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index e80a67f..a009de1 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -49,7 +49,7 @@ H5F_contig_read(H5F_t *f, hsize_t max_data, H5FD_mem_t type, haddr_t addr,
{
hsize_t offset=0; /* Offset for vector call */
- FUNC_ENTER(H5F_contig_read, FAIL);
+ FUNC_ENTER_NOAPI(H5F_contig_read, FAIL);
/* Check args */
assert(f);
@@ -85,7 +85,7 @@ H5F_contig_write(H5F_t *f, hsize_t max_data, H5FD_mem_t type, haddr_t addr, size
{
hsize_t offset=0; /* Offset for vector call */
- FUNC_ENTER(H5F_contig_write, FAIL);
+ FUNC_ENTER_NOAPI(H5F_contig_write, FAIL);
assert (f);
assert (buf);
@@ -139,7 +139,7 @@ H5F_contig_readv(H5F_t *f, hsize_t _max_data, H5FD_mem_t type, haddr_t _addr,
hsize_t *offset_arr_p; /* Pointer into the offset array */
#endif /* SLOW_WAY */
- FUNC_ENTER(H5F_contig_readv, FAIL);
+ FUNC_ENTER_NOAPI(H5F_contig_readv, FAIL);
/* Check args */
assert(f);
@@ -579,7 +579,7 @@ H5F_contig_writev(H5F_t *f, hsize_t _max_data, H5FD_mem_t type, haddr_t _addr,
hsize_t *offset_arr_p; /* Pointer into the offset array */
#endif /* SLOW_WAY */
- FUNC_ENTER(H5F_contig_writev, FAIL);
+ FUNC_ENTER_NOAPI(H5F_contig_writev, FAIL);
/* Check args */
assert(f);