diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-12-04 02:27:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-12-04 02:27:37 (GMT) |
commit | 8d344f96bcd012742c55e668d6a6b3d81d1c39ee (patch) | |
tree | 918447ffaa4d7a81b921dac1a9a0d9a4f380760d /src/H5G.c | |
parent | 4620776d72dc398dd134f4b266a38350d6cb7f60 (diff) | |
download | hdf5-8d344f96bcd012742c55e668d6a6b3d81d1c39ee.zip hdf5-8d344f96bcd012742c55e668d6a6b3d81d1c39ee.tar.gz hdf5-8d344f96bcd012742c55e668d6a6b3d81d1c39ee.tar.bz2 |
[svn-r11758] Purpose:
New feature
Description:
Add in a combination of Peter's & my code to support copying
variable-length data from one file to another, although currently only
supported with contiguous data storage.
Platforms tested:
FreeBSD 4.11 (sleipnir)
h5committest
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 41 |
1 files changed, 0 insertions, 41 deletions
@@ -1526,47 +1526,6 @@ done: /*------------------------------------------------------------------------- - * Function: H5G_isa - * - * Purpose: Determines if an object has the requisite messages for being - * a group. - * - * Return: Success: TRUE if the required group messages are - * present; FALSE otherwise. - * - * Failure: FAIL if the existence of certain messages - * cannot be determined. - * - * Programmer: Robb Matzke - * Monday, November 2, 1998 - * - *------------------------------------------------------------------------- - */ -htri_t -H5G_isa(H5O_loc_t *loc, hid_t dxpl_id) -{ - htri_t stab_exists; - htri_t linfo_exists; - htri_t ret_value; - - FUNC_ENTER_NOAPI_NOINIT(H5G_isa) - - HDassert(loc); - - /* Check for any of the messages that indicate a group */ - if((stab_exists = H5O_exists(loc, H5O_STAB_ID, 0, dxpl_id)) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header") - if((linfo_exists = H5O_exists(loc, H5O_LINFO_ID, 0, dxpl_id)) < 0) - HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to read object header") - - ret_value = (stab_exists > 0 || linfo_exists > 0); - -done: - FUNC_LEAVE_NOAPI(ret_value) -} /* end H5G_isa() */ - - -/*------------------------------------------------------------------------- * Function: H5G_open * * Purpose: Opens an existing group. The group should eventually be |