diff options
Diffstat (limited to 'src/H5Ostab.c')
-rw-r--r-- | src/H5Ostab.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Ostab.c b/src/H5Ostab.c index f6df318..7361428 100644 --- a/src/H5Ostab.c +++ b/src/H5Ostab.c @@ -45,8 +45,8 @@ static herr_t H5O_stab_delete(H5F_t *f, hid_t dxpl_id, const void *_mesg, hbool_ static herr_t H5O_stab_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream, int indent, int fwidth); -/* This message derives from H5O */ -const H5O_class_t H5O_STAB[1] = {{ +/* This message derives from H5O message class */ +const H5O_msg_class_t H5O_MSG_STAB[1] = {{ H5O_STAB_ID, /*message id number */ "stab", /*message name for debugging */ sizeof(H5O_stab_t), /*native message size */ @@ -171,21 +171,21 @@ H5O_stab_encode(H5F_t *f, uint8_t *p, const void *_mesg) *------------------------------------------------------------------------- */ void * -H5O_stab_fast(const H5G_cache_t *cache, const H5O_class_t *type, void *_mesg) +H5O_stab_fast(const H5G_cache_t *cache, const H5O_msg_class_t *type, void *_mesg) { H5O_stab_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_stab_fast); + FUNC_ENTER_NOAPI_NOINIT(H5O_stab_fast) /* check args */ assert(cache); assert(type); - if (H5O_STAB == type) { + if (H5O_MSG_STAB == type) { if (_mesg) { ret_value = (H5O_stab_t *) _mesg; } else if (NULL==(ret_value = H5FL_MALLOC(H5O_stab_t))) { - HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed"); + HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed") } ret_value->btree_addr = cache->stab.btree_addr; ret_value->heap_addr = cache->stab.heap_addr; @@ -194,7 +194,7 @@ H5O_stab_fast(const H5G_cache_t *cache, const H5O_class_t *type, void *_mesg) ret_value=NULL; done: - FUNC_LEAVE_NOAPI(ret_value); + FUNC_LEAVE_NOAPI(ret_value) } |