summaryrefslogtreecommitdiffstats
path: root/src/H5TB.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-05 23:41:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-05 23:41:30 (GMT)
commit9d11032a9814084d30a27e74ed5a3794c5c0573a (patch)
tree1c1317e1f02200aa48484ec9b0b974f95d878bf1 /src/H5TB.c
parent8a2ecf8fa6100c391a622fdaa9bdad4a8a56b7c2 (diff)
downloadhdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.zip
hdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.tar.gz
hdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.tar.bz2
[svn-r737] Changed H5I groups to have a H5I_ prefix before them, to better align with the
library.
Diffstat (limited to 'src/H5TB.c')
-rw-r--r--src/H5TB.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5TB.c b/src/H5TB.c
index 5079d27..f07b353 100644
--- a/src/H5TB.c
+++ b/src/H5TB.c
@@ -84,7 +84,7 @@ H5TB_init_interface(void)
FUNC_ENTER(H5TB_init_interface, FAIL);
/* Initialize the atom group for the file IDs */
- if ((ret_value = H5I_init_group(H5_TEMPBUF, H5I_TEMPBUFID_HASHSIZE,
+ if ((ret_value = H5I_init_group(H5I_TEMPBUF, H5I_TEMPBUFID_HASHSIZE,
H5TB_RESERVED_ATOMS, NULL)) != FAIL) {
ret_value = H5_add_exit(&H5TB_term_interface);
}
@@ -116,7 +116,7 @@ H5TB_term_interface(void)
*next; /* pointer to next temp. buffer */
/* Destroy the atom group */
- H5I_destroy_group(H5_TEMPBUF);
+ H5I_destroy_group(H5I_TEMPBUF);
/* Step through the list and free the buffers */
while(curr!=NULL) {
@@ -285,7 +285,7 @@ H5TB_get_buf(hsize_t size, hbool_t resize, void **ptr)
} /* end if */
/* Atomize */
- if ((ret_value=H5I_register (H5_TEMPBUF, curr))<0) {
+ if ((ret_value=H5I_register (H5I_TEMPBUF, curr))<0) {
HGOTO_ERROR (H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to register temp. buffer atom");
}
@@ -324,7 +324,7 @@ H5TB_buf_ptr(hid_t tbuf_id)
FUNC_ENTER (H5TB_buf_ptr, NULL);
- if (H5_TEMPBUF != H5I_group(tbuf_id) ||
+ if (H5I_TEMPBUF != H5I_get_type(tbuf_id) ||
NULL == (tbuf = H5I_object(tbuf_id))) {
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a temp. buffer");
}
@@ -367,7 +367,7 @@ H5TB_resize_buf(hid_t tbuf_id, hsize_t size)
FUNC_ENTER (H5TB_resize_buf, FAIL);
- if (H5_TEMPBUF != H5I_group(tbuf_id) ||
+ if (H5I_TEMPBUF != H5I_get_type(tbuf_id) ||
NULL == (tbuf = H5I_object(tbuf_id))) {
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a temp. buffer");
}
@@ -522,7 +522,7 @@ H5TB_release_buf(hid_t tbuf_id)
FUNC_ENTER (H5TB_release_buf, FAIL);
- if (H5_TEMPBUF != H5I_group(tbuf_id) ||
+ if (H5I_TEMPBUF != H5I_get_type(tbuf_id) ||
NULL == (tbuf = H5I_remove(tbuf_id))) {
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a temp. buffer");
}