summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-07-16 18:46:57 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-07-16 18:46:57 (GMT)
commitb27392e36a73889448500eced4f37e59c06b2a02 (patch)
treee686b711b51107b73ea090106e72b4857bbd84f6 /src/H5Tcommit.c
parentf772c1110e4cc158be91bdc1a5ef13e5ed596d15 (diff)
downloadhdf5-b27392e36a73889448500eced4f37e59c06b2a02.zip
hdf5-b27392e36a73889448500eced4f37e59c06b2a02.tar.gz
hdf5-b27392e36a73889448500eced4f37e59c06b2a02.tar.bz2
[svn-r23907] - add a new routine:
herr_t H5VLget_object(hid_t obj_id, void **obj, H5VL_t **vol_plugin) to retrieve object pointer from given ID. This also optionally returns a pointer to a vol_plugin if it is not NULL. - remove the previously added routine to retrieve the VOL datatype object since the new one does that. - add a MAX_LIB_VOL_VALUE that reserves 128 value for internal VOL plugins, not that we need that many.
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 912fab5..e55a498 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -915,39 +915,6 @@ H5T_update_shared(H5T_t *dt)
/*-------------------------------------------------------------------------
- * Function: H5Tget_named_type
- *
- * Purpose: returns the VOL object or the named datatype structure
- * if it exists. This is the public wrapper for H5T_get_named_type.
- *
- * Return: Non-negative on success/Negative on failure
- *
- * Programmer: Mohamad Chaarawi
- * June 2013
- *
- *-------------------------------------------------------------------------
- */
-herr_t
-H5Tget_vol_named_type(hid_t type_id, void **dt_obj)
-{
- H5T_t *type; /* datatype for operation */
- herr_t ret_value = SUCCEED; /* Return value */
-
- FUNC_ENTER_API(FAIL)
- H5TRACE2("e", "i**x", type_id, dt_obj);
-
- /* Check arguments */
- if(NULL == (type = (H5T_t *)H5I_object_verify(type_id, H5I_DATATYPE)))
- HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype")
-
- *dt_obj = H5T_get_named_type(type);
-
-done:
- FUNC_LEAVE_API(ret_value)
-} /* end H5Tget_named_type() */
-
-
-/*-------------------------------------------------------------------------
* Function: H5T_get_named_type
*
* Purpose: returns the VOL object or the named datatype structure