summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-10-15 16:33:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-10-15 16:33:27 (GMT)
commitf2257d5c815c3feee98d06136d191f0de8932da1 (patch)
tree9f77b83c9cdeff71c54cd88c607889272147d72a /src/H5T.c
parentcdb316b7e0b247977d667edac7b98486e3a9b46c (diff)
downloadhdf5-f2257d5c815c3feee98d06136d191f0de8932da1.zip
hdf5-f2257d5c815c3feee98d06136d191f0de8932da1.tar.gz
hdf5-f2257d5c815c3feee98d06136d191f0de8932da1.tar.bz2
[svn-r118] Added H5P_init & H5T_init function calls which can be called to guarantee that
the H5T & H5P interfaces are initialized (from H5D_init_interface)
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/H5T.c b/src/H5T.c
index aab886e..7c6fdb6 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -81,6 +81,29 @@ static herr_t H5T_init_interface(void)
} /* H5T_init_interface */
/*--------------------------------------------------------------------------
+NAME
+ H5T_init -- Make certain that the interface has been initialized
+USAGE
+ herr_t H5T_init()
+
+RETURNS
+ SUCCEED/FAIL
+DESCRIPTION
+ Library public routine to make certain the H5T interface has been properly
+ initialized.
+
+--------------------------------------------------------------------------*/
+herr_t H5T_init(void)
+{
+ herr_t ret_value = SUCCEED;
+ FUNC_ENTER (H5T_init, H5T_init_interface, FAIL);
+
+ /* Actual work is done in the FUNC_ENTER macro */
+
+ FUNC_LEAVE(ret_value);
+} /* H5T_init */
+
+/*--------------------------------------------------------------------------
NAME
H5T_term_interface
PURPOSE