summaryrefslogtreecommitdiffstats
path: root/src/H5Olayout.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
commitf8da76cb9f96d4b233ac9dcb896f9df74e803f38 (patch)
treeb23e28d99b9391163e25d84daabb09906998078f /src/H5Olayout.c
parent71ca572047b5d73b200eb761bc1234f3b6c4783d (diff)
downloadhdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.zip
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.gz
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.bz2
[svn-r6266] Purpose:
Code cleanup/new feature. Description: Split FUNC_LEAVE into API and non-API specific versions. This allows a solution to compiling this branch with C++, as well as reducing the size of the binaries produced. Platforms tested: FreeBSD 4.7 (sleipnir) w/serial, parallel (including MPE) & thread-safe
Diffstat (limited to 'src/H5Olayout.c')
-rw-r--r--src/H5Olayout.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Olayout.c b/src/H5Olayout.c
index 41c173e..96340d1 100644
--- a/src/H5Olayout.c
+++ b/src/H5Olayout.c
@@ -139,7 +139,7 @@ done:
if(mesg)
H5FL_FREE(H5O_layout_t,mesg);
} /* end if */
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -216,7 +216,7 @@ H5O_layout_encode(H5F_t *f, uint8_t *p, const void *_mesg)
}
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -268,7 +268,7 @@ H5O_layout_copy(const void *_mesg, void *_dest)
ret_value=dest;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -315,7 +315,7 @@ H5O_layout_meta_size(H5F_t *f, const void *_mesg)
ret_value += H5F_SIZEOF_ADDR(f); /* file address of data or B-tree for chunked dataset */
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -354,7 +354,7 @@ H5O_layout_size(H5F_t *f, const void *_mesg)
if(mesg->type==H5D_COMPACT)
ret_value += mesg->size;/* data for compact dataset */
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -391,7 +391,7 @@ H5O_layout_reset (void *_mesg)
} /* end if */
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -426,7 +426,7 @@ H5O_layout_free (void *_mesg)
H5FL_FREE(H5O_layout_t,mesg);
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -478,5 +478,5 @@ H5O_layout_debug(H5F_t UNUSED *f, const void *_mesg, FILE * stream,
HDfprintf(stream, "}\n");
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}