HGOTO_ERROR(H5E_DATATYPE, H5E_BADTYPE, H5T_NORM_ERROR, "operation not defined for datatype class")
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 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.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * Module Info: This module contains the functionality for floating-point
 *      datatypes in the H5T interface.
 */
#include "H5Tmodule.h"          /* This source code file is part of the H5T module */
#include "H5private.h"      /*generic functions           */
#include "H5Eprivate.h"     /*error handling              */
#include "H5Iprivate.h"     /*ID functions                */
#include "H5Tpkg.h"     /*data-type functions             */
/*-------------------------------------------------------------------------
 * Function:    H5Tget_fields
 *
 * Purpose: Returns information about the locations of the various bit
 *      fields of a floating point datatype.  The field positions
 *      are bit positions in the significant region of the datatype.
 *      Bits are numbered with the least significant bit number zero.
 *
 *      Any (or even all) of the arguments can be null pointers.
 *
 * Return:  Success:    Non-negative, field locations and sizes are
 *              returned through the arguments.
 *
 *      Failure:    Negative
 *
 * Programmer:  Robb Matzke
 *      Wednesday, January  7, 1998
 *
 *-------------------------------------------------------------------------
 */
herr_t
H5Tget_fields(hid_t type_id, size_t *spos/*out*/, size_t *epos/*out*/,
size_t *esize/*out*/, size_t *mpos/*out*/, size_t *msize/*out*/)