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/H5AC.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/H5AC.c')
-rw-r--r-- | src/H5AC.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -121,7 +121,7 @@ H5AC_init_interface(void) #endif /* H5_HAVE_PARALLEL */ done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } /* end H5AC_init_interface() */ @@ -170,7 +170,7 @@ H5AC_term_interface(void) interface_initialize_g = 0; } /* end if */ - FUNC_LEAVE(n); + FUNC_LEAVE_NOAPI(n); } /* end H5AC_term_interface() */ @@ -233,7 +233,7 @@ done: } /* end if */ } /* end if */ - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -286,7 +286,7 @@ H5AC_dest(H5F_t *f) f->shared->cache = cache = H5FL_FREE(H5AC_t,cache); done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -436,7 +436,7 @@ H5AC_find_f(H5F_t *f, const H5AC_class_t *type, haddr_t addr, ret_value=thing; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -488,7 +488,7 @@ H5AC_compare(const void *_a, const void *_b) ret_value=1; } - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } #endif @@ -640,7 +640,7 @@ done: map = H5FL_ARR_FREE(int,map); #endif /* H5AC_SORT_BY_ADDR */ - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -722,7 +722,7 @@ H5AC_set(H5F_t *f, const H5AC_class_t *type, haddr_t addr, void *thing) #endif /* H5AC_DEBUG */ done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -819,7 +819,7 @@ H5AC_rename(H5F_t *f, const H5AC_class_t *type, haddr_t old_addr, cache->slot[old_idx]= NULL; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -953,7 +953,7 @@ H5AC_protect(H5F_t *f, const H5AC_class_t *type, haddr_t addr, ret_value=thing; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -1053,7 +1053,7 @@ H5AC_unprotect(H5F_t *f, const H5AC_class_t *type, haddr_t addr, void *thing) cache->nprots -= 1; done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } @@ -1141,5 +1141,5 @@ H5AC_debug(H5F_t UNUSED *f) #endif done: - FUNC_LEAVE(ret_value); + FUNC_LEAVE_NOAPI(ret_value); } |