summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-23 15:38:39 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-23 15:38:39 (GMT)
commitbf66573f5535eca039a4607ad99d8984c579ca65 (patch)
tree728b3bf958067d1003de66d2d7e222c5d09f1acd /src/H5Tcommit.c
parent76cf50e27874f458c7958157fbadde017efa56df (diff)
downloadhdf5-bf66573f5535eca039a4607ad99d8984c579ca65.zip
hdf5-bf66573f5535eca039a4607ad99d8984c579ca65.tar.gz
hdf5-bf66573f5535eca039a4607ad99d8984c579ca65.tar.bz2
[svn-r22596] minor things
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c
index 4566bc2..9d02c72 100644
--- a/src/H5Tcommit.c
+++ b/src/H5Tcommit.c
@@ -1023,10 +1023,26 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5T_close_datatype() */
+
+/*-------------------------------------------------------------------------
+ * Function: H5T_set_vol_object
+ *
+ * Purpose: Set the vol_object in the H5T_t struct.
+ * Called from outside the H5T package
+ *
+ * Return: Succeed
+ *
+ * Programmer: Mohamad Chaarawi
+ * June 2012
+ *
+ *-------------------------------------------------------------------------
+ */
herr_t
H5T_set_vol_object(H5T_t *type, void *vol_obj)
{
FUNC_ENTER_NOAPI_NOINIT_NOERR
+
type->vol_obj = vol_obj;
+
FUNC_LEAVE_NOAPI(SUCCEED)
-}
+} /* end H5T_set_vol_object() */