diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-01-22 16:41:32 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-01-22 16:41:32 (GMT) |
commit | a0ee2c57e934c5ff2269e345238a6ee019f6c294 (patch) | |
tree | 08a553617329401737ddff6af60ccd11a13cc6a3 /src/H5E.c | |
parent | fdfb6dfd26410b931b4452f832b5a4aedec283e0 (diff) | |
download | hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.zip hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.gz hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.bz2 |
[svn-r164] Changes since 19980122
----------------------
./src/*.h
Fixed indentation where indent(1) screwed up. This isn't by
any means the final say, but it's better than it was.
./src/H5A.c
./src/H5Aprivate.h
./src/H5Apublic.h
./src/H5C.c
./src/H5D.c
./src/H5E.c
./src/H5F.c
./src/H5G.c
./src/H5M.c
./src/H5P.c
./src/H5T.c
./src/H5Tconv.c
./src/debug.c
./test/dtypes.c
./test/istore.c
./test/theap.c
./test/tohdr.c
./test/tstab.c
Removed some atom functions from the API and made them
library-scope. Also changed some names by removing the
redundant `atom' from the name and by adding a `_' after the
`H5A'.
Diffstat (limited to 'src/H5E.c')
-rw-r--r-- | src/H5E.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -133,8 +133,8 @@ H5E_init_interface(void) FUNC_ENTER(H5E_init_interface, FAIL); /* Initialize the atom group for the error stacks */ - if ((ret_value = H5Ainit_group(H5_ERR, H5A_ERRSTACK_HASHSIZE, 0, - (herr_t (*)(void *)) H5E_close)) != FAIL) { + if ((ret_value = H5A_init_group(H5_ERR, H5A_ERRSTACK_HASHSIZE, 0, + (herr_t (*)(void *)) H5E_close)) != FAIL) { ret_value = H5_add_exit(H5E_term_interface); } FUNC_LEAVE(ret_value); @@ -160,7 +160,7 @@ H5E_init_interface(void) static void H5E_term_interface(void) { - H5Adestroy_group(H5_ERR); + H5A_destroy_group(H5_ERR); } /*-------------------------------------------------------------------------- @@ -199,7 +199,7 @@ H5Ecreate(uintn initial_stack_nelmts) new_stack->push = H5E_push; /* Set the default error handler */ /* Get an atom for the error stack */ - if ((ret_value = H5Aregister_atom(H5_ERR, new_stack)) < 0) { + if ((ret_value = H5A_register(H5_ERR, new_stack)) < 0) { HRETURN_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to register error stack"); } @@ -227,7 +227,7 @@ H5Eclose(hid_t estack_id) H5ECLEAR; /* check args */ - if (H5_ERR != H5Aatom_group(estack_id)) { + if (H5_ERR != H5A_group(estack_id)) { HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not an error stack"); } /* @@ -295,8 +295,8 @@ H5Epush(hid_t estack_id, H5E_major_t maj_num, H5E_minor_t min_num, * check args, but don't call error functions if ESTACK_ID is the thread * global error handler. */ - if (H5_ERR != H5Aatom_group(estack_id) || - NULL == (estack = H5Aatom_object(estack_id))) { + if (H5_ERR != H5A_group(estack_id) || + NULL == (estack = H5A_object(estack_id))) { HRETURN(FAIL); } if (!function_name || !file_name || !desc) { @@ -342,8 +342,8 @@ H5Eclear(hid_t estack_id) H5ECLEAR; /* check args */ - if (H5_ERR != H5Aatom_group(estack_id) || - NULL == (estack = H5Aatom_object(estack_id))) { + if (H5_ERR != H5A_group(estack_id) || + NULL == (estack = H5A_object(estack_id))) { HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not an error stack"); } if (H5E_clear(estack) < 0) { @@ -384,8 +384,8 @@ H5Eprint(hid_t estack_id, FILE * file) H5ECLEAR; /* check args */ - if (H5_ERR != H5Aatom_group(estack_id) || - NULL == (estack = H5Aatom_object(estack_id))) { + if (H5_ERR != H5A_group(estack_id) || + NULL == (estack = H5A_object(estack_id))) { HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not an error stack"); } if (!file) |