if(NULL == (parent = (H5T_t *)H5I_object_verify(parent_id, H5I_DATATYPE)) || H5T_INTEGER != parent->shared->type)
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 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 enumerated datatypes
 *      in the H5T interface.
 */
#define H5T_PACKAGE     /*suppress error about including H5Tpkg   */
/* Interface initialization */
#define H5_INTERFACE_INIT_FUNC  H5T_init_enum_interface
#include "H5private.h"      /*generic functions           */
#include "H5Eprivate.h"     /*error handling              */
#include "H5Iprivate.h"     /*ID functions                */
#include "H5MMprivate.h"    /*memory management           */
#include "H5Tpkg.h"     /*data-type functions             */
/* Static local functions */
static char *H5T_enum_nameof(const H5T_t *dt, const void *value, char *name/*out*/,
                  size_t size);
static herr_t H5T_enum_valueof(const H5T_t *dt, const char *name,
                void *value/*out*/);
/*--------------------------------------------------------------------------
NAME
   H5T_init_enum_interface -- Initialize interface-specific information
USAGE
    herr_t H5T_init_enum_interface()
RETURNS
    Non-negative on success/Negative on failure
DESCRIPTION
    Initializes any interface-specific data or routines.  (Just calls
    H5T_init_iterface currently).
--------------------------------------------------------------------------*/
static herr_t