if(NULL == (table->indexes = (H5SM_index_header_t *)H5FL_ARR_MALLOC(H5SM_index_header_t, (size_t)table->num_indexes)))
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * 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 files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic HDF5 document set and   *
 * is linked from the top-level documents page.  It can also be found at     *
 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
 * access to either file, you may request a copy from help@hdfgroup.org.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/****************/
/* Module Setup */
/****************/
#define H5SM_PACKAGE        /*suppress error about including H5SMpkg      */
/***********/
/* Headers */
/***********/
#include "H5Eprivate.h"     /* Error handling           */
#include "H5Fprivate.h"     /* File access                          */
#include "H5FLprivate.h"    /* Free Lists                           */
#include "H5MFprivate.h"        /* File memory management       */
#include "H5MMprivate.h"    /* Memory management            */
#include "H5SMpkg.h"            /* Shared object header messages        */
#include "H5WBprivate.h"        /* Wrapped Buffers                      */
/****************/
/* Local Macros */
/****************/
/* Size of stack buffer for serialized tables */
#define H5SM_TBL_BUF_SIZE       1024
/* Size of stack buffer for serialized list indices */
#define H5SM_LST_BUF_SIZE       1024
/******************/
/* Local Typedefs */
/******************/
/********************/