summaryrefslogtreecommitdiffstats
path: root/src/H5Z.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
commitf8da76cb9f96d4b233ac9dcb896f9df74e803f38 (patch)
treeb23e28d99b9391163e25d84daabb09906998078f /src/H5Z.c
parent71ca572047b5d73b200eb761bc1234f3b6c4783d (diff)
downloadhdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.zip
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.gz
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.bz2
[svn-r6266] Purpose:
Code cleanup/new feature. Description: Split FUNC_LEAVE into API and non-API specific versions. This allows a solution to compiling this branch with C++, as well as reducing the size of the binaries produced. Platforms tested: FreeBSD 4.7 (sleipnir) w/serial, parallel (including MPE) & thread-safe
Diffstat (limited to 'src/H5Z.c')
-rw-r--r--src/H5Z.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index 9c240c3..77ca9b6 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -53,7 +53,7 @@ H5Z_init_interface (void)
H5Z_register (H5Z_FILTER_SHUFFLE, "shuffle", H5Z_filter_shuffle);
#endif /* H5_HAVE_FILTER_SHUFFLE */
- FUNC_LEAVE (SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED);
}
@@ -177,7 +177,7 @@ H5Zregister(H5Z_filter_t id, const char *comment, H5Z_func_t func)
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register filter");
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -235,7 +235,7 @@ H5Z_register (H5Z_filter_t id, const char *comment, H5Z_func_t func)
}
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -272,7 +272,7 @@ H5Zunregister(H5Z_filter_t id)
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to unregister filter");
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
} /* end H5Zunregister() */
@@ -316,7 +316,7 @@ H5Z_unregister (H5Z_filter_t id)
H5Z_table_used_g--;
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5Z_unregister() */
@@ -355,7 +355,7 @@ H5Zfilter_avail(H5Z_filter_t id)
} /* end if */
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
} /* end H5Zfilter_avail() */
@@ -423,7 +423,7 @@ H5Z_append(H5O_pline_t *pline, H5Z_filter_t filter, unsigned flags,
pline->nfilters++;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -458,7 +458,7 @@ H5Z_find(H5Z_filter_t id)
}
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -586,6 +586,6 @@ H5Z_pipeline(H5F_t UNUSED *f, const H5O_pline_t *pline, unsigned flags,
*filter_mask = failed;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}