diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-10 20:26:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-10 20:26:02 (GMT) |
commit | f8da76cb9f96d4b233ac9dcb896f9df74e803f38 (patch) | |
tree | b23e28d99b9391163e25d84daabb09906998078f /src/H5FDsec2.c | |
parent | 71ca572047b5d73b200eb761bc1234f3b6c4783d (diff) | |
download | hdf5-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/H5FDsec2.c')
-rw-r--r-- | src/H5FDsec2.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 526f539..ecd4d62 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -215,7 +215,7 @@ H5FD_sec2_init(void) ret_value=H5FD_SEC2_g; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -250,7 +250,7 @@ H5Pset_fapl_sec2(hid_t fapl_id) ret_value= H5P_set_driver(plist, H5FD_SEC2, NULL); done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_API(ret_value); } @@ -336,7 +336,7 @@ done: HDclose(fd); } /* end if */ - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -370,7 +370,7 @@ H5FD_sec2_close(H5FD_t *_file) H5FL_FREE(H5FD_sec2_t,file); done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -426,7 +426,7 @@ H5FD_sec2_cmp(const H5FD_t *_f1, const H5FD_t *_f2) #endif done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -464,7 +464,7 @@ H5FD_sec2_query(const H5FD_t UNUSED * _f, unsigned long *flags /* out */) } done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -498,7 +498,7 @@ H5FD_sec2_get_eoa(H5FD_t *_file) ret_value=file->eoa; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -531,7 +531,7 @@ H5FD_sec2_set_eoa(H5FD_t *_file, haddr_t addr) file->eoa = addr; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -567,7 +567,7 @@ H5FD_sec2_get_eof(H5FD_t *_file) ret_value=MAX(file->eof, file->eoa); done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -598,7 +598,7 @@ H5FD_sec2_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void** file_handle) *file_handle = &(file->fd); done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -680,7 +680,7 @@ done: file->op = OP_UNKNOWN; } /* end if */ - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -758,7 +758,7 @@ done: file->op = OP_UNKNOWN; } /* end if */ - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -819,5 +819,5 @@ H5FD_sec2_flush(H5FD_t *_file, unsigned UNUSED closing) } done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } |