diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2014-04-09 05:08:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2014-04-09 05:08:21 (GMT) |
commit | 3de25ee2264f80b4a842af10c69893f4e635951f (patch) | |
tree | f2ffe250f6d1ee0fb377ba69c8c41ade04c09855 /src/H5D.c | |
parent | f32690b53c0872faf9e9ee0d0492cce360f72938 (diff) | |
download | hdf5-3de25ee2264f80b4a842af10c69893f4e635951f.zip hdf5-3de25ee2264f80b4a842af10c69893f4e635951f.tar.gz hdf5-3de25ee2264f80b4a842af10c69893f4e635951f.tar.bz2 |
[svn-r24998] Description:
Check in Neil's changes for correctly handling case where library is
reinitialized through a deprecated routine.
Tested on:
Linux 2.4.x/32 (jam)
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -94,6 +94,30 @@ H5D__init_pub_interface(void) } /* H5D__init_pub_interface() */ +/*-------------------------------------------------------------------------- +NAME + H5D__term_pub_interface -- Terminate interface +USAGE + herr_t H5D__term_pub_interface() +RETURNS + Non-negative on success/Negative on failure +DESCRIPTION + Terminates interface. (Just resets H5_interface_initialize_g + currently). + +--------------------------------------------------------------------------*/ +herr_t +H5D__term_pub_interface(void) +{ + FUNC_ENTER_PACKAGE_NOERR + + /* Mark closed */ + H5_interface_initialize_g = 0; + + FUNC_LEAVE_NOAPI(0) +} /* H5D__term_pub_interface() */ + + /*------------------------------------------------------------------------- * Function: H5Dcreate2 * |