summaryrefslogtreecommitdiffstats
path: root/src/H5EA.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:28:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:28:06 (GMT)
commit0051ab6330ac18a74403a1eab35ec93056b531ad (patch)
treec86227e8d6a54b7336dc94fa9f73252152b227e9 /src/H5EA.c
parentb19fbb9e4eb9a30e455cc1a9d9d9a3b264d3459a (diff)
downloadhdf5-0051ab6330ac18a74403a1eab35ec93056b531ad.zip
hdf5-0051ab6330ac18a74403a1eab35ec93056b531ad.tar.gz
hdf5-0051ab6330ac18a74403a1eab35ec93056b531ad.tar.bz2
[svn-r16637] Description:
Bring r16633:16636 back from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode Too minor to require h5committest
Diffstat (limited to 'src/H5EA.c')
-rw-r--r--src/H5EA.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5EA.c b/src/H5EA.c
index 85ae821..e35738d 100644
--- a/src/H5EA.c
+++ b/src/H5EA.c
@@ -110,7 +110,7 @@ H5FL_DEFINE_STATIC(H5EA_t);
*/
BEGIN_FUNC(PRIV, ERR,
H5EA_t *, NULL, NULL,
-H5EA_create(H5F_t *f, hid_t dxpl_id, const H5EA_create_t *cparam))
+H5EA_create(H5F_t *f, hid_t dxpl_id, const H5EA_create_t *cparam, void *ctx_udata))
/* Local variables */
H5EA_t *ea = NULL; /* Pointer to new extensible array */
@@ -128,7 +128,7 @@ HDfprintf(stderr, "%s: Called\n", FUNC);
HDassert(cparam);
/* Create extensible array header */
- if(HADDR_UNDEF == (ea_addr = H5EA__hdr_create(f, dxpl_id, cparam)))
+ if(HADDR_UNDEF == (ea_addr = H5EA__hdr_create(f, dxpl_id, cparam, ctx_udata)))
H5E_THROW(H5E_CANTINIT, "can't create extensible array header")
/* Allocate extensible array wrapper */
@@ -181,7 +181,8 @@ END_FUNC(PRIV) /* end H5EA_create() */
*/
BEGIN_FUNC(PRIV, ERR,
H5EA_t *, NULL, NULL,
-H5EA_open(H5F_t *f, hid_t dxpl_id, haddr_t ea_addr, const H5EA_class_t *cls))
+H5EA_open(H5F_t *f, hid_t dxpl_id, haddr_t ea_addr, const H5EA_class_t *cls,
+ void *ctx_udata))
/* Local variables */
H5EA_t *ea = NULL; /* Pointer to new extensible array wrapper */
@@ -198,7 +199,7 @@ H5EA_open(H5F_t *f, hid_t dxpl_id, haddr_t ea_addr, const H5EA_class_t *cls))
#ifdef QAK
HDfprintf(stderr, "%s: ea_addr = %a\n", FUNC, ea_addr);
#endif /* QAK */
- if(NULL == (hdr = (H5EA_hdr_t *)H5AC_protect(f, dxpl_id, H5AC_EARRAY_HDR, ea_addr, cls, NULL, H5AC_READ)))
+ if(NULL == (hdr = (H5EA_hdr_t *)H5AC_protect(f, dxpl_id, H5AC_EARRAY_HDR, ea_addr, cls, ctx_udata, H5AC_READ)))
H5E_THROW(H5E_CANTPROTECT, "unable to load extensible array header, address = %llu", (unsigned long long)ea_addr)
/* Check for pending array deletion */