summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c
index 3bb9bd8..d41db50 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -116,7 +116,7 @@ H5O_attr_decode(H5F_t *f, hid_t dxpl_id, const uint8_t *p, H5O_shared_t UNUSED *
unsigned flags=0; /* Attribute flags */
H5A_t *ret_value; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_decode, NULL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_decode);
/* check args */
assert(f);
@@ -257,7 +257,7 @@ H5O_attr_encode(H5F_t *f, uint8_t *p, const void *mesg)
hbool_t type_shared; /* Flag to indicate that a shared datatype is used for this attribute */
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_encode, FAIL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_encode);
/* check args */
assert(f);
@@ -376,7 +376,7 @@ H5O_attr_copy(const void *_src, void *_dst)
H5A_t *dst = NULL;
void *ret_value; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_copy, NULL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_copy);
/* check args */
assert(src);
@@ -428,7 +428,7 @@ H5O_attr_size(H5F_t UNUSED *f, const void *_mesg)
hbool_t type_shared; /* Flag to indicate that a shared datatype is used for this attribute */
size_t ret_value = 0;
- FUNC_ENTER_NOAPI(H5O_attr_size, 0);
+ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_attr_size);
assert(attr);
@@ -467,7 +467,6 @@ H5O_attr_size(H5F_t UNUSED *f, const void *_mesg)
attr->ds_size + /*data space */
attr->data_size; /*the data itself */
-done:
FUNC_LEAVE_NOAPI(ret_value);
}
@@ -494,7 +493,7 @@ H5O_attr_reset(void *_mesg)
H5A_t *tmp = NULL;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_reset, FAIL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_reset);
if (attr) {
if (NULL==(tmp = H5MM_malloc(sizeof(H5A_t))))
@@ -529,7 +528,7 @@ H5O_attr_delete(H5F_t UNUSED *f, hid_t dxpl_id, const void *_mesg)
const H5A_t *attr = (const H5A_t *) _mesg;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_delete, FAIL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_delete);
/* check args */
assert(f);
@@ -568,7 +567,7 @@ H5O_attr_link(H5F_t UNUSED *f, hid_t dxpl_id, const void *_mesg)
const H5A_t *attr = (const H5A_t *) _mesg;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_link, FAIL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_link);
/* check args */
assert(f);
@@ -614,7 +613,7 @@ H5O_attr_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream, int in
herr_t (*debug)(H5F_t*, hid_t, const void*, FILE*, int, int)=NULL;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(H5O_attr_debug, FAIL);
+ FUNC_ENTER_NOAPI_NOINIT(H5O_attr_debug);
/* check args */
assert(f);