summaryrefslogtreecommitdiffstats
path: root/src/H5Tvlen.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-18 21:32:55 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-18 21:32:55 (GMT)
commitb7a6535650cd0317e3aee1bb62a96664b38e5304 (patch)
treea88c6b8668f76983b9b0acf4cf0a57845c78d110 /src/H5Tvlen.c
parent33f70a817aba7a4dd020fb29a187c53ba05e157c (diff)
parenta07c8f924703bdf3d1654b59cabf847f5d0f2683 (diff)
downloadhdf5-b7a6535650cd0317e3aee1bb62a96664b38e5304.zip
hdf5-b7a6535650cd0317e3aee1bb62a96664b38e5304.tar.gz
hdf5-b7a6535650cd0317e3aee1bb62a96664b38e5304.tar.bz2
[svn-r22297] merge from trunk
Diffstat (limited to 'src/H5Tvlen.c')
-rw-r--r--src/H5Tvlen.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c
index ace0a73..05fccf2 100644
--- a/src/H5Tvlen.c
+++ b/src/H5Tvlen.c
@@ -117,7 +117,7 @@ H5Tvlen_create(hid_t base_id)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not an valid base datatype")
/* Create up VL datatype */
- if((dt = H5T_vlen_create(base)) == NULL)
+ if((dt = H5T__vlen_create(base)) == NULL)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "invalid VL location")
/* Atomize the type */
@@ -130,7 +130,7 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5T_vlen_create
+ * Function: H5T__vlen_create
*
* Purpose: Create a new variable-length datatype based on the specified
* BASE_TYPE.
@@ -145,18 +145,18 @@ done:
*-------------------------------------------------------------------------
*/
H5T_t *
-H5T_vlen_create(const H5T_t *base)
+H5T__vlen_create(const H5T_t *base)
{
H5T_t *dt = NULL; /*new VL datatype */
H5T_t *ret_value; /*return value */
- FUNC_ENTER_NOAPI_NOINIT
+ FUNC_ENTER_PACKAGE
/* Check args */
HDassert(base);
/* Build new type */
- if(NULL == (dt = H5T_alloc()))
+ if(NULL == (dt = H5T__alloc()))
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTALLOC, NULL, "memory allocation failed")
dt->shared->type = H5T_VLEN;
@@ -187,11 +187,11 @@ done:
HDONE_ERROR(H5E_DATATYPE, H5E_CANTRELEASE, NULL, "unable to release datatype info")
FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5T_vlen_create() */
+} /* end H5T__vlen_create() */
/*-------------------------------------------------------------------------
- * Function: H5T_vlen_set_loc
+ * Function: H5T__vlen_set_loc
*
* Purpose: Sets the location of a VL datatype to be either on disk or in memory
*
@@ -207,11 +207,11 @@ done:
*-------------------------------------------------------------------------
*/
htri_t
-H5T_vlen_set_loc(const H5T_t *dt, H5F_t *f, H5T_loc_t loc)
+H5T__vlen_set_loc(const H5T_t *dt, H5F_t *f, H5T_loc_t loc)
{
htri_t ret_value = FALSE; /* Indicate success, but no location change */
- FUNC_ENTER_NOAPI_NOINIT
+ FUNC_ENTER_PACKAGE
/* check parameters */
HDassert(dt);
@@ -298,7 +298,7 @@ H5T_vlen_set_loc(const H5T_t *dt, H5F_t *f, H5T_loc_t loc)
done:
FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5T_vlen_set_loc() */
+} /* end H5T__vlen_set_loc() */
/*-------------------------------------------------------------------------