summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
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() */