From 375132fac95efaf0f44b28bc656ec2a551b84b63 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 24 May 2011 15:45:37 +0000 Subject: [PATCH] pre-refine code fixed --- src/h5core/h5t_store.c | 8 ++++++++ src/h5core/h5t_store_private.h | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/h5core/h5t_store.c b/src/h5core/h5t_store.c index 6d17a18..e0598ae 100644 --- a/src/h5core/h5t_store.c +++ b/src/h5core/h5t_store.c @@ -296,6 +296,14 @@ h5t_mark_entity ( H5_CORE_API_RETURN (h5priv_insert_idlist (&t->marked_entities, entity_id, -1)); } +h5_err_t +h5t_pre_refine ( + h5_file_t* const f + ) { + H5_CORE_API_ENTER1 (h5_err_t, "f=0x%p", f); + H5_CORE_API_RETURN (f->t->methods.store->pre_refine (f)); +} + /* Refine previously marked elements. */ diff --git a/src/h5core/h5t_store_private.h b/src/h5core/h5t_store_private.h index a86547b..785c3f8 100644 --- a/src/h5core/h5t_store_private.h +++ b/src/h5core/h5t_store_private.h @@ -34,13 +34,6 @@ h5tpriv_alloc_elems ( return (*f->t->methods.store->alloc_elems) (f, cur, new); } -static inline h5_err_t -h5tpriv_pre_refine ( - h5_file_t* const f - ) { - return f->t->methods.store->pre_refine (f); -} - static inline h5_loc_idx_t h5tpriv_refine_elem ( h5_file_t * const f,