diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-29 15:07:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-29 15:07:55 (GMT) |
commit | e69e970a1c71621c39a5f5fa656a185948ed1df8 (patch) | |
tree | 6d62761aa80d47e1713786bdeadabed02cc3c8f0 /src/H5Dseq.c | |
parent | 0ba943194ec2c8b74bbfd6531ee7a9b110803974 (diff) | |
download | hdf5-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/H5Dseq.c')
-rw-r--r-- | src/H5Dseq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Dseq.c b/src/H5Dseq.c index 2714174..191748f 100644 --- a/src/H5Dseq.c +++ b/src/H5Dseq.c @@ -62,7 +62,7 @@ H5F_seq_read(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, const H5S_t *file_space, size_t elmt_size, size_t seq_len, hsize_t file_offset, void *buf/*out*/) { - FUNC_ENTER(H5F_seq_read, FAIL); + FUNC_ENTER_NOAPI(H5F_seq_read, FAIL); /* Check args */ assert(f); @@ -103,7 +103,7 @@ H5F_seq_write(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, const H5S_t *file_space, size_t elmt_size, size_t seq_len, hsize_t file_offset, const void *buf) { - FUNC_ENTER(H5F_seq_write, FAIL); + FUNC_ENTER_NOAPI(H5F_seq_write, FAIL); /* Check args */ assert(f); @@ -170,7 +170,7 @@ H5F_seq_readv(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, #endif herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER(H5F_seq_readv, FAIL); + FUNC_ENTER_NOAPI(H5F_seq_readv, FAIL); /* Check args */ assert(f); @@ -552,7 +552,7 @@ H5F_seq_writev(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout, #endif herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER(H5F_seq_writev, FAIL); + FUNC_ENTER_NOAPI(H5F_seq_writev, FAIL); /* Check args */ assert(f); |