diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-06 19:22:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-06 19:22:33 (GMT) |
commit | 0a2cdffb0b11b92dc7ebdc6b188f3de10d53d9aa (patch) | |
tree | 9bc3acdca1ba6466204c0189713d776a14fa40ff /src | |
parent | 3a5cb21f25fad7b48b10febcc9b2d295ddc93e48 (diff) | |
download | hdf5-0a2cdffb0b11b92dc7ebdc6b188f3de10d53d9aa.zip hdf5-0a2cdffb0b11b92dc7ebdc6b188f3de10d53d9aa.tar.gz hdf5-0a2cdffb0b11b92dc7ebdc6b188f3de10d53d9aa.tar.bz2 |
[svn-r12868] Description:
Make API routines that don't initialize the library more consistent, to
help with future internal library changes.
Tested on:
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5.c | 8 | ||||
-rw-r--r-- | src/H5private.h | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -343,7 +343,7 @@ H5dont_atexit(void) { herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_API_NOINIT(H5dont_atexit) + FUNC_ENTER_API_NOINIT_NOFS(H5dont_atexit) H5TRACE0("e",""); if(H5_dont_atexit_g) @@ -351,7 +351,7 @@ H5dont_atexit(void) else H5_dont_atexit_g = TRUE; - FUNC_LEAVE_API(ret_value) + FUNC_LEAVE_API_NOFS(ret_value) } /* end H5dont_atexit() */ @@ -611,7 +611,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum) static int disable_version_check = 0; /* Set if the version check should be disabled */ herr_t ret_value=SUCCEED; /* Return value */ - FUNC_ENTER_API_NOINIT(H5check_version) + FUNC_ENTER_API_NOINIT_NOFS(H5check_version) H5TRACE3("e","IuIuIu",majnum,minnum,relnum); /* Don't check again, if we already have */ @@ -694,7 +694,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum) } done: - FUNC_LEAVE_API(ret_value) + FUNC_LEAVE_API_NOFS(ret_value) } /* end H5check_version() */ diff --git a/src/H5private.h b/src/H5private.h index b0f1292..5b35111 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1263,7 +1263,7 @@ static herr_t H5_INTERFACE_INIT_FUNC(void); * Use this macro for API functions that shouldn't perform _any_ initialization * of the library or an interface or push themselves on the function * stack, just perform tracing, etc. Examples - * are: H5close, etc. + * are: H5close, H5check_version, etc. * */ #define FUNC_ENTER_API_NOINIT_NOFS(func_name) {{ \ |