summaryrefslogtreecommitdiffstats
path: root/src/H5EAtest.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:24:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:24:31 (GMT)
commit448e1b78ee37cc01f5f08e2e9c9528c7687c5318 (patch)
tree05f32e991c350565cff8c430c1ad4e243c3dad67 /src/H5EAtest.c
parent0d1d64ad87c42dd3c283c0598295260826e3d819 (diff)
downloadhdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.zip
hdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.tar.gz
hdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.tar.bz2
[svn-r16636] Description:
Pass some user data down into the extensible array client context creation callback. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
Diffstat (limited to 'src/H5EAtest.c')
-rw-r--r--src/H5EAtest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5EAtest.c b/src/H5EAtest.c
index 58e8bc2..93cd518 100644
--- a/src/H5EAtest.c
+++ b/src/H5EAtest.c
@@ -69,7 +69,7 @@ typedef struct H5EA__test_ctx_t {
/********************/
/* Extensible array class callbacks */
-static void *H5EA__test_crt_context(const H5F_t *f);
+static void *H5EA__test_crt_context(void *udata);
static herr_t H5EA__test_dst_context(void *ctx);
static herr_t H5EA__test_fill(void *nat_blk, size_t nelmts);
static herr_t H5EA__test_encode(void *raw, const void *elmt, size_t nelmts,
@@ -126,13 +126,12 @@ H5FL_DEFINE_STATIC(H5EA__test_ctx_t);
*/
BEGIN_FUNC(STATIC, ERR,
void *, NULL, NULL,
-H5EA__test_crt_context(const H5F_t UNUSED *f))
+H5EA__test_crt_context(void UNUSED *udata))
/* Local variables */
H5EA__test_ctx_t *ctx; /* Context for callbacks */
/* Sanity checks */
- HDassert(f);
/* Allocate new context structure */
if(NULL == (ctx = H5FL_MALLOC(H5EA__test_ctx_t)))