Source
if(NULL == (dst_mesg = H5O_SHARED_COPY_FILE_REAL(file_src, H5O_SHARED_TYPE, _native_src, file_dst, recompute_size, cpy_info, udata, dxpl_id)))
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* Programmer: Quincey Koziol <koziol@hdfgroup.org>
* Friday, January 19, 2007
*
* Purpose: This file contains inline definitions for "generic" routines
* supporting a "shared message interface" (ala Java) for object
* header messages that can be shared. This interface is
* dependent on a bunch of macros being defined which define
* the name of the interface and "real" methods which need to
* be implemented for each message class that supports the
* shared message interface.
*/
•
/*-------------------------------------------------------------------------
* Function: H5O_SHARED_DECODE
*
* Purpose: Decode an object header message that may be shared.
*
* Note: The actual name of this routine can be different in each source
* file that this header file is included in, and must be defined
* prior to including this header file.
*
* Return: Success: Pointer to the new message in native form
* Failure: NULL
*
* Programmer: Quincey Koziol
* Friday, January 19, 2007
*
*-------------------------------------------------------------------------
*/
static H5_INLINE void *
H5O_SHARED_DECODE(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned mesg_flags,
unsigned *ioflags, const uint8_t *p)
{