My Project 1.10.7
Loading...
Searching...
No Matches
H5Include.h
1// C++ informative line for the emacs editor: -*- C++ -*-
2/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3 * Copyright by The HDF Group. *
4 * Copyright by the Board of Trustees of the University of Illinois. *
5 * All rights reserved. *
6 * *
7 * This file is part of HDF5. The full HDF5 copyright notice, including *
8 * terms governing use, modification, and redistribution, is contained in *
9 * the COPYING file, which can be found at the root of the source code *
10 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
11 * If you do not have access to either file, you may request a copy from *
12 * help@hdfgroup.org. *
13 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
14
15#include <hdf5.h>
16
17// Define bool type for platforms that don't support bool yet
18#ifdef BOOL_NOTDEFINED
19#ifdef false
20#undef false
21#endif
22#ifdef true
23#undef true
24#endif
25typedef int bool;
26const bool false = 0;
27const bool true = 1;
28#endif
29
30// These are defined in H5Opkg.h, which should not be included in the C++ API,
31// so re-define them here for now.
32
33/* Initial version of the object header format */
34#define H5O_VERSION_1 1
35
36/* Revised version - leaves out reserved bytes and alignment padding, and adds
37 * magic number as prefix and checksum as suffix for all chunks.
38 */
39#define H5O_VERSION_2 2
40


The HDF Group Help Desk:
  Copyright by The HDF Group
and the Board of Trustees of the University of Illinois