summaryrefslogtreecommitdiffstats
path: root/src/H5Snone.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/H5Snone.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/H5Snone.c')
-rw-r--r--src/H5Snone.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Snone.c b/src/H5Snone.c
index c440eea..11ad5f5 100644
--- a/src/H5Snone.c
+++ b/src/H5Snone.c
@@ -47,7 +47,7 @@ H5S_none_select_serialize (const H5S_t *space, uint8_t *buf)
{
herr_t ret_value=FAIL; /* return value */
- FUNC_ENTER (H5S_none_select_serialize, FAIL);
+ FUNC_ENTER_NOAPI(H5S_none_select_serialize, FAIL);
assert(space);
@@ -87,7 +87,7 @@ H5S_none_select_deserialize (H5S_t *space, const uint8_t UNUSED *buf)
{
herr_t ret_value=FAIL; /* return value */
- FUNC_ENTER (H5S_none_select_deserialize, FAIL);
+ FUNC_ENTER_NOAPI(H5S_none_select_deserialize, FAIL);
assert(space);
@@ -122,7 +122,7 @@ herr_t H5S_select_none (H5S_t *space)
{
herr_t ret_value=SUCCEED; /* return value */
- FUNC_ENTER (H5S_select_none, FAIL);
+ FUNC_ENTER_NOAPI(H5S_select_none, FAIL);
/* Check args */
assert(space);
@@ -163,7 +163,7 @@ herr_t H5Sselect_none (hid_t spaceid)
H5S_t *space = NULL; /* Dataspace to modify selection of */
herr_t ret_value=FAIL; /* return value */
- FUNC_ENTER (H5Sselect_none, FAIL);
+ FUNC_ENTER_API(H5Sselect_none, FAIL);
/* Check args */
if (H5I_DATASPACE != H5I_get_type(spaceid) ||
@@ -211,7 +211,7 @@ H5S_none_select_iterate(void * UNUSED buf, hid_t UNUSED type_id, H5S_t * UNUSED
{
herr_t ret_value=SUCCEED; /* return value */
- FUNC_ENTER (H5S_none_select_iterate, FAIL);
+ FUNC_ENTER_NOAPI(H5S_none_select_iterate, FAIL);
assert(buf);
assert(space);