annotate src/mingw-hdf5-1.patch @ 3922:5159c01c3c26

hdf5: update to v1.8.14 * src/hdf5.mk: update version, checksum * src/mingw-hdf5-1.patch: update patch
author John Donoghue <john.donoghue@ieee.org>
date Wed, 29 Apr 2015 06:42:15 -0400
parents 6ac813175f6f
children 98bcc037fad7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -rNu a/bin/make_lib_settings b/bin/make_lib_settings
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/bin/make_lib_settings 1969-12-31 19:00:00.000000000 -0500
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
3 +++ b/bin/make_lib_settings 2014-09-01 11:49:54.453674207 -0400
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -0,0 +1,45 @@
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 +#!/usr/bin/perl -w
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 +require 5.003;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 +print "/* Generated automatically by H5make_libsettings -- do not edit */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 + * Copyright by The HDF Group. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 + * Copyright by the Board of Trustees of the University of Illinois. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 + * All rights reserved. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 + * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 + * This file is part of HDF5. The full HDF5 copyright notice, including *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 + * terms governing use, modification, and redistribution, is contained in *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 + * the files COPYING and Copyright.html. COPYING can be found at the root *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 + * of the source code distribution tree; Copyright.html can be found at the *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 + * root level of an installed copy of the electronic HDF5 document set and *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 + * is linked from the top-level documents page. It can also be found at *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 + * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 + * access to either file, you may request a copy from help\@hdfgroup.org. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 + * Created: Dec 26, 2012
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 + * Purpose: This machine-generated source code contains
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 + * information about the library build configuration
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 + * Modifications:
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 + * DO NOT MAKE MODIFICATIONS TO THIS FILE!
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 + * It was generated by code in `H5make_libsettings.c'.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 + *-------------------------------------------------------------------------
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 +char H5libhdf5_settings[]=
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 +";
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 +while (<>) {
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 + chop;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 + print "\t\"$_\\n\"\n";
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 +}
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 +print ";\n"
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 diff -rNu a/configure.ac b/configure.ac
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 --- a/configure.ac 2012-10-26 20:14:41.000000000 -0400
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
52 +++ b/configure.ac 2014-09-01 11:49:54.457674075 -0400
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 @@ -1045,7 +1045,7 @@
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 ## Create libtool. If shared/static libraries are going to be enabled
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 ## or disabled, it should happen before these macros.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 LT_PREREQ([2.2])
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 -LT_INIT([dlopen])
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 +LT_INIT([win32-dll dlopen])
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 ## ----------------------------------------------------------------------
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 ## Check if we should install only statically linked executables.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 diff -rNu a/src/H5Tinit.c.mingw32 b/src/H5Tinit.c.mingw32
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 --- a/src/H5Tinit.c.mingw32 1969-12-31 19:00:00.000000000 -0500
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
64 +++ b/src/H5Tinit.c.mingw32 2014-09-01 11:49:54.461673944 -0400
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 @@ -0,0 +1,978 @@
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 +/* Generated automatically by H5detect -- do not edit */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 + * Copyright by The HDF Group. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 + * Copyright by the Board of Trustees of the University of Illinois. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 + * All rights reserved. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 + * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 + * This file is part of HDF5. The full HDF5 copyright notice, including *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 + * terms governing use, modification, and redistribution, is contained in *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 + * the files COPYING and Copyright.html. COPYING can be found at the root *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 + * of the source code distribution tree; Copyright.html can be found at the *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 + * root level of an installed copy of the electronic HDF5 document set and *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 + * is linked from the top-level documents page. It can also be found at *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 + * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 + * access to either file, you may request a copy from help@hdfgroup.org. *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 + * Created: Nov 29, 2012
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 + * Purpose: This machine-generated source code contains
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 + * information about the various integer and
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 + * floating point numeric formats found on this
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 + * architecture. The parameters below should be
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 + * checked carefully and errors reported to the
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 + * HDF5 maintainer.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 + * Each of the numeric formats listed below are
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 + * printed from most significant bit to least
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 + * significant bit even though the actual bytes
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 + * might be stored in a different order in
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99 + * memory. The integers above each binary byte
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 + * indicate the relative order of the bytes in
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 + * memory; little-endian machines have
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 + * decreasing numbers while big-endian machines
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 + * have increasing numbers.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 + * The fields of the numbers are printed as
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 + * letters with `S' for the mantissa sign bit,
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 + * `M' for the mantissa magnitude, and `E' for
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 + * the exponent. The exponent has an associated
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 + * bias which can be subtracted to find the
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 + * true exponent. The radix point is assumed
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111 + * to be before the first `M' bit. Any bit
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 + * of a floating-point value not falling into one
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
113 + * of these categories is printed as a question
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114 + * mark. Bits of integer types are printed as
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 + * `I' for 2's complement and `U' for magnitude.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 + * If the most significant bit of the normalized
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118 + * mantissa (always a `1' except for `0.0') is
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119 + * not stored then an `implicit=yes' appears
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120 + * under the field description. In thie case,
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 + * the radix point is still assumed to be
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 + * before the first `M' but after the implicit
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 + * bit.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125 + * Modifications:
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 + * DO NOT MAKE MODIFICATIONS TO THIS FILE!
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 + * It was generated by code in `H5detect.c'.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 + *-------------------------------------------------------------------------
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 +/****************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 +/* Module Setup */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 +/****************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 +#define H5T_PACKAGE /*suppress error about including H5Tpkg.h*/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 +/***********/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 +/* Headers */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 +/***********/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143 +#include "H5private.h" /* Generic Functions */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 +#include "H5Eprivate.h" /* Error handling */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 +#include "H5FLprivate.h" /* Free Lists */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 +#include "H5Iprivate.h" /* IDs */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 +#include "H5Tpkg.h" /* Datatypes */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 +/****************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151 +/* Local Macros */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 +/****************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 +/******************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 +/* Local Typedefs */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 +/******************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 +/* Package Typedefs */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 +/* Local Prototypes */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 +/* Public Variables */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 +/********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 +/*****************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176 +/* Library Private Variables */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 +/*****************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
178 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 +/*********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 +/* Package Variables */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 +/*********************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 +/*******************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 +/* Local Variables */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 +/*******************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 +/*-------------------------------------------------------------------------
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 + * Function: H5TN_init_interface
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 + * Purpose: Initialize pre-defined native datatypes from code generated
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 + * during the library configuration by H5detect.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 + * Return: Success: non-negative
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 + * Failure: negative
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 + * Programmer: Robb Matzke
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 + * Wednesday, December 16, 1998
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 + *
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 + *-------------------------------------------------------------------------
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 +herr_t
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 +H5TN_init_interface(void)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 +{
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 + H5T_t *dt = NULL;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 + herr_t ret_value = SUCCEED;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 + FUNC_ENTER_NOAPI(FAIL)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 + * IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
224 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
227 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
228 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
229 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
230 + if((H5T_NATIVE_SCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
231 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
232 + H5T_NATIVE_SCHAR_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
233 + H5T_NATIVE_SCHAR_COMP_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
234 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
235 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
236 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
237 + * UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
238 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
239 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
248 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
249 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 + if((H5T_NATIVE_UCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
252 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 + H5T_NATIVE_UCHAR_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
254 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
255 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
256 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257 + * IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
259 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
262 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
267 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
268 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271 + if((H5T_NATIVE_SHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 + H5T_NATIVE_SHORT_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 + H5T_NATIVE_SHORT_COMP_ALIGN_g = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 + * UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292 + if((H5T_NATIVE_USHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 + H5T_NATIVE_USHORT_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
304 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
306 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
307 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
309 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
310 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
311 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
312 + if((H5T_NATIVE_INT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
313 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 + H5T_NATIVE_INT_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315 + H5T_NATIVE_INT_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
316 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
318 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
325 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333 + if((H5T_NATIVE_UINT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
334 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
335 + H5T_NATIVE_UINT_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
336 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
345 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
352 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353 + if((H5T_NATIVE_LONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355 + H5T_NATIVE_LONG_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356 + H5T_NATIVE_LONG_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
362 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
365 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
366 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
367 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
368 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 + if((H5T_NATIVE_ULONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 + H5T_NATIVE_ULONG_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380 + * IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
381 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
385 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
386 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
387 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
392 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
393 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 + if((H5T_NATIVE_INT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 + H5T_NATIVE_INT8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 + * UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
404 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
413 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 + if((H5T_NATIVE_UINT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 + H5T_NATIVE_UINT8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 + * IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 + if((H5T_NATIVE_INT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 + H5T_NATIVE_INT_LEAST8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 + * UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
441 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
442 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
448 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
450 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
453 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454 + if((H5T_NATIVE_UINT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
455 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
456 + H5T_NATIVE_UINT_LEAST8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
458 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
459 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 + * IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
462 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
463 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
466 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
467 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
469 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
470 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
471 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
472 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
473 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474 + if((H5T_NATIVE_INT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
475 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
476 + H5T_NATIVE_INT_FAST8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
477 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
478 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
479 + * 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480 + * UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
481 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
482 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
483 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
484 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
485 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
486 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
487 + dt->shared->size = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
488 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
489 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490 + dt->shared->u.atomic.prec = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
491 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
492 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
493 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
494 + if((H5T_NATIVE_UINT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
495 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
496 + H5T_NATIVE_UINT_FAST8_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
497 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
498 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
499 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
500 + * IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
501 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
502 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
503 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
504 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
505 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
506 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
507 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
508 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
509 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
510 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
511 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
512 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
513 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
514 + if((H5T_NATIVE_INT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
515 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
516 + H5T_NATIVE_INT16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
517 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
518 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
519 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
520 + * UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
521 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
522 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
523 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
524 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
525 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
526 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
527 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
528 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
529 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
530 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
531 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
532 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
533 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
534 + if((H5T_NATIVE_UINT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
535 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
536 + H5T_NATIVE_UINT16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
537 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
538 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
539 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
540 + * IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
541 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
542 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
543 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
544 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
545 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
546 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
547 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
548 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
549 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
550 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
551 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
552 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
553 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
554 + if((H5T_NATIVE_INT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
555 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
556 + H5T_NATIVE_INT_LEAST16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
557 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
558 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
559 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
560 + * UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
561 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
562 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
563 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
564 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
565 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
566 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
567 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
568 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
569 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
570 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
571 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
572 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
573 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
574 + if((H5T_NATIVE_UINT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
575 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
576 + H5T_NATIVE_UINT_LEAST16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
577 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
578 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
579 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
580 + * IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
581 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
582 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
583 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
584 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
585 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
586 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
587 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
588 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
589 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
590 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
591 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
592 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
593 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
594 + if((H5T_NATIVE_INT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
595 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
596 + H5T_NATIVE_INT_FAST16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
597 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
598 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
599 + * 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
600 + * UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
601 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
602 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
603 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
604 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
605 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
606 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
607 + dt->shared->size = 2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
608 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
609 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
610 + dt->shared->u.atomic.prec = 16;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
611 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
612 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
613 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
614 + if((H5T_NATIVE_UINT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
615 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
616 + H5T_NATIVE_UINT_FAST16_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
617 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
618 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
619 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
620 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
621 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
622 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
623 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
624 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
625 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
626 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
627 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
628 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
629 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
630 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
631 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
632 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
633 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
634 + if((H5T_NATIVE_INT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
635 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
636 + H5T_NATIVE_INT32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
637 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
638 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
639 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
640 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
641 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
642 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
643 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
644 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
645 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
646 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
647 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
648 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
649 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
650 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
651 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
652 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
653 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
654 + if((H5T_NATIVE_UINT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
655 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
656 + H5T_NATIVE_UINT32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
657 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
658 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
659 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
660 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
661 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
662 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
663 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
664 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
665 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
666 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
667 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
668 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
669 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
670 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
671 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
672 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
673 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
674 + if((H5T_NATIVE_INT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
675 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
676 + H5T_NATIVE_INT_LEAST32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
677 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
678 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
679 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
680 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
681 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
682 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
683 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
684 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
685 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
686 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
687 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
688 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
689 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
690 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
691 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
692 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
693 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
694 + if((H5T_NATIVE_UINT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
695 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
696 + H5T_NATIVE_UINT_LEAST32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
697 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
698 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
699 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
700 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
701 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
702 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
703 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
704 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
705 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
706 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
707 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
708 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
709 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
710 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
711 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
712 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
713 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
714 + if((H5T_NATIVE_INT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
715 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
716 + H5T_NATIVE_INT_FAST32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
717 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
718 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
719 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
720 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
721 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
722 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
723 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
724 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
725 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
726 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
727 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
728 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
729 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
730 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
731 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
732 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
733 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
734 + if((H5T_NATIVE_UINT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
735 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
736 + H5T_NATIVE_UINT_FAST32_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
737 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
738 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
739 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
740 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
741 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
742 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
743 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
744 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
745 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
746 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
747 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
748 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
749 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
750 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
751 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
752 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
753 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
754 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
755 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
756 + if((H5T_NATIVE_INT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
757 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
758 + H5T_NATIVE_INT64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
759 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
760 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
761 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
762 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
763 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
764 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
765 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
766 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
767 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
768 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
769 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
770 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
771 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
772 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
773 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
774 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
775 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
776 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
777 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
778 + if((H5T_NATIVE_UINT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
779 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
780 + H5T_NATIVE_UINT64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
781 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
782 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
783 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
784 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
785 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
786 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
787 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
788 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
789 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
790 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
791 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
792 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
793 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
794 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
795 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
796 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
797 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
798 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
799 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
800 + if((H5T_NATIVE_INT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
801 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
802 + H5T_NATIVE_INT_LEAST64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
803 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
804 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
805 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
806 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
807 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
808 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
809 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
810 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
811 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
812 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
813 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
814 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
815 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
816 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
817 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
818 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
819 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
820 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
821 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
822 + if((H5T_NATIVE_UINT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
823 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
824 + H5T_NATIVE_UINT_LEAST64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
825 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
826 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
827 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
828 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
829 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
830 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
831 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
832 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
833 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
834 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
835 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
836 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
837 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
838 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
839 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
840 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
841 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
842 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
843 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
844 + if((H5T_NATIVE_INT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
845 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
846 + H5T_NATIVE_INT_FAST64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
847 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
848 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
849 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
850 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
851 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
852 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
853 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
854 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
855 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
856 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
857 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
858 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
859 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
860 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
861 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
862 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
863 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
864 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
865 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
866 + if((H5T_NATIVE_UINT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
867 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
868 + H5T_NATIVE_UINT_FAST64_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
869 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
870 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
871 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
872 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
873 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
874 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
875 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
876 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
877 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
878 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
879 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
880 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
881 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
882 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
883 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
884 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
885 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
886 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
887 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
888 + if((H5T_NATIVE_LLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
889 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
890 + H5T_NATIVE_LLONG_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
891 + H5T_NATIVE_LLONG_COMP_ALIGN_g = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
892 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
893 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
894 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
895 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
896 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
897 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
898 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
899 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
900 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
901 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
902 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
903 + dt->shared->type = H5T_INTEGER;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
904 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
905 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
906 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
907 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
908 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
909 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
910 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
911 + if((H5T_NATIVE_ULLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
912 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
913 + H5T_NATIVE_ULLONG_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
914 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
915 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
916 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
917 + * SEEEEEEE EMMMMMMM MMMMMMMM MMMMMMMM
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
918 + * Implicit bit? yes
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
919 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
920 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
921 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
922 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
923 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
924 + dt->shared->type = H5T_FLOAT;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
925 + dt->shared->size = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
926 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
927 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
928 + dt->shared->u.atomic.prec = 32;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
929 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
930 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
931 + dt->shared->u.atomic.u.f.sign = 31;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
932 + dt->shared->u.atomic.u.f.epos = 23;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
933 + dt->shared->u.atomic.u.f.esize = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
934 + dt->shared->u.atomic.u.f.ebias = 0x0000007f;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
935 + dt->shared->u.atomic.u.f.mpos = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
936 + dt->shared->u.atomic.u.f.msize = 23;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
937 + dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
938 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
939 + if((H5T_NATIVE_FLOAT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
940 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
941 + H5T_NATIVE_FLOAT_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
942 + H5T_NATIVE_FLOAT_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
943 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
944 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
945 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
946 + * SEEEEEEE EEEEMMMM MMMMMMMM MMMMMMMM
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
947 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
948 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
949 + * Implicit bit? yes
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
950 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
951 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
952 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
953 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
954 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
955 + dt->shared->type = H5T_FLOAT;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
956 + dt->shared->size = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
957 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
958 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
959 + dt->shared->u.atomic.prec = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
960 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
961 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
962 + dt->shared->u.atomic.u.f.sign = 63;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
963 + dt->shared->u.atomic.u.f.epos = 52;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
964 + dt->shared->u.atomic.u.f.esize = 11;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
965 + dt->shared->u.atomic.u.f.ebias = 0x000003ff;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
966 + dt->shared->u.atomic.u.f.mpos = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
967 + dt->shared->u.atomic.u.f.msize = 52;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
968 + dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
969 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
970 + if((H5T_NATIVE_DOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
971 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
972 + H5T_NATIVE_DOUBLE_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
973 + H5T_NATIVE_DOUBLE_COMP_ALIGN_g = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
974 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
975 + /*
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
976 + * 11 10 9 8
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
977 + * ???????? ???????? SEEEEEEE EEEEEEEE
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
978 + * 7 6 5 4
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
979 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
980 + * 3 2 1 0
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
981 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
982 + * Implicit bit? no
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
983 + * Alignment: none
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
984 + */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
985 + if(NULL == (dt = H5T__alloc()))
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
986 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
987 + dt->shared->state = H5T_STATE_IMMUTABLE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
988 + dt->shared->type = H5T_FLOAT;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
989 + dt->shared->size = 12;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
990 + dt->shared->u.atomic.order = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
991 + dt->shared->u.atomic.offset = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
992 + dt->shared->u.atomic.prec = 80;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
993 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
994 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
995 + dt->shared->u.atomic.u.f.sign = 79;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
996 + dt->shared->u.atomic.u.f.epos = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
997 + dt->shared->u.atomic.u.f.esize = 15;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
998 + dt->shared->u.atomic.u.f.ebias = 0x00003fff;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
999 + dt->shared->u.atomic.u.f.mpos = 0;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1000 + dt->shared->u.atomic.u.f.msize = 64;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1001 + dt->shared->u.atomic.u.f.norm = H5T_NORM_NONE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1002 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1003 + if((H5T_NATIVE_LDOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1004 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1005 + H5T_NATIVE_LDOUBLE_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1006 + H5T_NATIVE_LDOUBLE_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1007 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1008 + /* Set the native order for this machine */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1009 + H5T_native_order_g = H5T_ORDER_LE;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1010 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1011 + /* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1012 + H5T_POINTER_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1013 + H5T_HVL_COMP_ALIGN_g = 4;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1014 + H5T_HOBJREF_COMP_ALIGN_g = 8;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1015 + H5T_HDSETREGREF_COMP_ALIGN_g = 1;
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1016 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1017 +done:
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1018 + if(ret_value < 0) {
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1019 + if(dt != NULL) {
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1020 + dt->shared = H5FL_FREE(H5T_shared_t, dt->shared);
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1021 + dt = H5FL_FREE(H5T_t, dt);
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1022 + } /* end if */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1023 + } /* end if */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1024 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1025 + FUNC_LEAVE_NOAPI(ret_value);
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1026 +} /* end H5TN_init_interface() */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1027 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1028 +/****************************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1029 +/* ALIGNMENT and signal-handling status */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1030 +/****************************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1031 +/* Signal() support: yes */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1032 +/* setjmp() support: no */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1033 +/* longjmp() support: yes */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1034 +/* sigsetjmp() support: no */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1035 +/* siglongjmp() support: no */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1036 +/* sigprocmask() support: no */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1037 +
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1038 +/******************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1039 +/* signal handlers statistics */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1040 +/******************************/
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1041 +/* signal_handlers tested: 10 times */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1042 +/* sigbus_handler called: 5 times */
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1043 +/* sigsegv_handler called: 5 times */
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1044 diff -rNu a/src/H5Tinit.c.mingw64 b/src/H5Tinit.c.mingw64
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1045 --- a/src/H5Tinit.c.mingw64 1969-12-31 19:00:00.000000000 -0500
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1046 +++ b/src/H5Tinit.c.mingw64 2014-09-01 11:52:24.240756904 -0400
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1047 @@ -0,0 +1,980 @@
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1048 +/* Generated automatically by H5detect -- do not edit */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1049 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1050 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1051 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1052 +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1053 + * Copyright by The HDF Group. *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1054 + * Copyright by the Board of Trustees of the University of Illinois. *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1055 + * All rights reserved. *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1056 + * *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1057 + * This file is part of HDF5. The full HDF5 copyright notice, including *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1058 + * terms governing use, modification, and redistribution, is contained in *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1059 + * the files COPYING and Copyright.html. COPYING can be found at the root *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1060 + * of the source code distribution tree; Copyright.html can be found at the *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1061 + * root level of an installed copy of the electronic HDF5 document set and *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1062 + * is linked from the top-level documents page. It can also be found at *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1063 + * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1064 + * access to either file, you may request a copy from help@hdfgroup.org. *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1065 + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1066 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1067 + * Created: Aug 31, 2014
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1068 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1069 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1070 + * Purpose: This machine-generated source code contains
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1071 + * information about the various integer and
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1072 + * floating point numeric formats found on this
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1073 + * architecture. The parameters below should be
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1074 + * checked carefully and errors reported to the
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1075 + * HDF5 maintainer.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1076 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1077 + * Each of the numeric formats listed below are
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1078 + * printed from most significant bit to least
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1079 + * significant bit even though the actual bytes
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1080 + * might be stored in a different order in
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1081 + * memory. The integers above each binary byte
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1082 + * indicate the relative order of the bytes in
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1083 + * memory; little-endian machines have
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1084 + * decreasing numbers while big-endian machines
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1085 + * have increasing numbers.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1086 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1087 + * The fields of the numbers are printed as
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1088 + * letters with `S' for the mantissa sign bit,
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1089 + * `M' for the mantissa magnitude, and `E' for
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1090 + * the exponent. The exponent has an associated
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1091 + * bias which can be subtracted to find the
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1092 + * true exponent. The radix point is assumed
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1093 + * to be before the first `M' bit. Any bit
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1094 + * of a floating-point value not falling into one
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1095 + * of these categories is printed as a question
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1096 + * mark. Bits of integer types are printed as
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1097 + * `I' for 2's complement and `U' for magnitude.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1098 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1099 + * If the most significant bit of the normalized
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1100 + * mantissa (always a `1' except for `0.0') is
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1101 + * not stored then an `implicit=yes' appears
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1102 + * under the field description. In thie case,
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1103 + * the radix point is still assumed to be
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1104 + * before the first `M' but after the implicit
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1105 + * bit.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1106 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1107 + * Modifications:
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1108 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1109 + * DO NOT MAKE MODIFICATIONS TO THIS FILE!
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1110 + * It was generated by code in `H5detect.c'.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1111 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1112 + *-------------------------------------------------------------------------
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1113 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1114 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1115 +/****************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1116 +/* Module Setup */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1117 +/****************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1118 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1119 +#define H5T_PACKAGE /*suppress error about including H5Tpkg.h*/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1120 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1121 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1122 +/***********/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1123 +/* Headers */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1124 +/***********/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1125 +#include "H5private.h" /* Generic Functions */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1126 +#include "H5Eprivate.h" /* Error handling */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1127 +#include "H5FLprivate.h" /* Free Lists */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1128 +#include "H5Iprivate.h" /* IDs */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1129 +#include "H5Tpkg.h" /* Datatypes */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1130 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1131 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1132 +/****************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1133 +/* Local Macros */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1134 +/****************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1135 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1136 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1137 +/******************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1138 +/* Local Typedefs */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1139 +/******************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1140 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1141 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1142 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1143 +/* Package Typedefs */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1144 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1145 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1146 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1147 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1148 +/* Local Prototypes */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1149 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1150 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1151 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1152 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1153 +/* Public Variables */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1154 +/********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1155 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1156 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1157 +/*****************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1158 +/* Library Private Variables */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1159 +/*****************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1160 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1161 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1162 +/*********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1163 +/* Package Variables */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1164 +/*********************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1165 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1166 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1167 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1168 +/*******************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1169 +/* Local Variables */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1170 +/*******************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1171 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1172 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1173 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1174 +/*-------------------------------------------------------------------------
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1175 + * Function: H5TN_init_interface
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1176 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1177 + * Purpose: Initialize pre-defined native datatypes from code generated
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1178 + * during the library configuration by H5detect.
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1179 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1180 + * Return: Success: non-negative
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1181 + * Failure: negative
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1182 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1183 + * Programmer: Robb Matzke
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1184 + * Wednesday, December 16, 1998
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1185 + *
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1186 + *-------------------------------------------------------------------------
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1187 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1188 +herr_t
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1189 +H5TN_init_interface(void)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1190 +{
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1191 + H5T_t *dt = NULL;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1192 + herr_t ret_value = SUCCEED;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1193 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1194 + FUNC_ENTER_NOAPI(FAIL)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1195 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1196 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1197 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1198 + * IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1199 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1200 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1201 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1202 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1203 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1204 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1205 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1206 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1207 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1208 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1209 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1210 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1211 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1212 + if((H5T_NATIVE_SCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1213 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1214 + H5T_NATIVE_SCHAR_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1215 + H5T_NATIVE_SCHAR_COMP_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1216 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1217 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1218 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1219 + * UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1220 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1221 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1222 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1223 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1224 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1225 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1226 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1227 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1228 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1229 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1230 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1231 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1232 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1233 + if((H5T_NATIVE_UCHAR_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1234 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1235 + H5T_NATIVE_UCHAR_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1236 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1237 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1238 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1239 + * IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1240 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1241 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1242 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1243 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1244 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1245 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1246 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1247 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1248 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1249 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1250 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1251 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1252 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1253 + if((H5T_NATIVE_SHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1254 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1255 + H5T_NATIVE_SHORT_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1256 + H5T_NATIVE_SHORT_COMP_ALIGN_g = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1257 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1258 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1259 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1260 + * UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1261 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1262 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1263 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1264 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1265 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1266 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1267 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1268 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1269 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1270 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1271 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1272 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1273 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1274 + if((H5T_NATIVE_USHORT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1275 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1276 + H5T_NATIVE_USHORT_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1277 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1278 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1279 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1280 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1281 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1282 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1283 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1284 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1285 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1286 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1287 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1288 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1289 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1290 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1291 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1292 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1293 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1294 + if((H5T_NATIVE_INT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1295 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1296 + H5T_NATIVE_INT_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1297 + H5T_NATIVE_INT_COMP_ALIGN_g = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1298 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1299 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1300 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1301 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1302 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1303 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1304 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1305 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1306 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1307 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1308 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1309 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1310 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1311 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1312 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1313 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1314 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1315 + if((H5T_NATIVE_UINT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1316 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1317 + H5T_NATIVE_UINT_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1318 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1319 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1320 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1321 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1322 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1323 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1324 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1325 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1326 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1327 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1328 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1329 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1330 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1331 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1332 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1333 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1334 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1335 + if((H5T_NATIVE_LONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1336 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1337 + H5T_NATIVE_LONG_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1338 + H5T_NATIVE_LONG_COMP_ALIGN_g = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1339 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1340 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1341 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1342 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1343 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1344 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1345 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1346 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1347 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1348 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1349 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1350 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1351 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1352 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1353 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1354 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1355 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1356 + if((H5T_NATIVE_ULONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1357 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1358 + H5T_NATIVE_ULONG_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1359 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1360 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1361 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1362 + * IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1363 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1364 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1365 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1366 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1367 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1368 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1369 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1370 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1371 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1372 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1373 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1374 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1375 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1376 + if((H5T_NATIVE_INT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1377 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1378 + H5T_NATIVE_INT8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1379 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1380 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1381 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1382 + * UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1383 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1384 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1385 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1386 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1387 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1388 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1389 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1390 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1391 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1392 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1393 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1394 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1395 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1396 + if((H5T_NATIVE_UINT8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1397 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1398 + H5T_NATIVE_UINT8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1399 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1400 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1401 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1402 + * IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1403 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1404 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1405 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1406 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1407 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1408 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1409 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1410 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1411 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1412 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1413 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1414 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1415 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1416 + if((H5T_NATIVE_INT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1417 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1418 + H5T_NATIVE_INT_LEAST8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1419 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1420 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1421 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1422 + * UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1423 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1424 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1425 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1426 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1427 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1428 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1429 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1430 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1431 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1432 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1433 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1434 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1435 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1436 + if((H5T_NATIVE_UINT_LEAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1437 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1438 + H5T_NATIVE_UINT_LEAST8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1439 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1440 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1441 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1442 + * IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1443 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1444 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1445 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1446 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1447 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1448 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1449 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1450 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1451 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1452 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1453 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1454 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1455 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1456 + if((H5T_NATIVE_INT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1457 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1458 + H5T_NATIVE_INT_FAST8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1459 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1460 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1461 + * 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1462 + * UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1463 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1464 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1465 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1466 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1467 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1468 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1469 + dt->shared->size = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1470 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1471 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1472 + dt->shared->u.atomic.prec = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1473 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1474 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1475 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1476 + if((H5T_NATIVE_UINT_FAST8_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1477 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1478 + H5T_NATIVE_UINT_FAST8_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1479 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1480 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1481 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1482 + * IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1483 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1484 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1485 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1486 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1487 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1488 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1489 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1490 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1491 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1492 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1493 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1494 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1495 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1496 + if((H5T_NATIVE_INT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1497 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1498 + H5T_NATIVE_INT16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1499 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1500 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1501 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1502 + * UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1503 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1504 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1505 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1506 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1507 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1508 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1509 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1510 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1511 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1512 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1513 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1514 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1515 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1516 + if((H5T_NATIVE_UINT16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1517 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1518 + H5T_NATIVE_UINT16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1519 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1520 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1521 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1522 + * IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1523 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1524 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1525 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1526 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1527 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1528 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1529 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1530 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1531 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1532 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1533 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1534 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1535 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1536 + if((H5T_NATIVE_INT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1537 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1538 + H5T_NATIVE_INT_LEAST16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1539 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1540 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1541 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1542 + * UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1543 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1544 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1545 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1546 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1547 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1548 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1549 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1550 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1551 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1552 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1553 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1554 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1555 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1556 + if((H5T_NATIVE_UINT_LEAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1557 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1558 + H5T_NATIVE_UINT_LEAST16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1559 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1560 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1561 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1562 + * IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1563 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1564 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1565 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1566 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1567 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1568 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1569 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1570 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1571 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1572 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1573 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1574 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1575 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1576 + if((H5T_NATIVE_INT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1577 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1578 + H5T_NATIVE_INT_FAST16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1579 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1580 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1581 + * 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1582 + * UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1583 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1584 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1585 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1586 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1587 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1588 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1589 + dt->shared->size = 2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1590 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1591 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1592 + dt->shared->u.atomic.prec = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1593 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1594 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1595 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1596 + if((H5T_NATIVE_UINT_FAST16_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1597 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1598 + H5T_NATIVE_UINT_FAST16_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1599 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1600 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1601 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1602 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1603 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1604 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1605 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1606 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1607 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1608 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1609 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1610 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1611 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1612 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1613 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1614 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1615 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1616 + if((H5T_NATIVE_INT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1617 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1618 + H5T_NATIVE_INT32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1619 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1620 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1621 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1622 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1623 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1624 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1625 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1626 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1627 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1628 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1629 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1630 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1631 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1632 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1633 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1634 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1635 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1636 + if((H5T_NATIVE_UINT32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1637 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1638 + H5T_NATIVE_UINT32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1639 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1640 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1641 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1642 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1643 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1644 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1645 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1646 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1647 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1648 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1649 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1650 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1651 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1652 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1653 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1654 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1655 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1656 + if((H5T_NATIVE_INT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1657 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1658 + H5T_NATIVE_INT_LEAST32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1659 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1660 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1661 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1662 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1663 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1664 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1665 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1666 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1667 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1668 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1669 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1670 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1671 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1672 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1673 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1674 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1675 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1676 + if((H5T_NATIVE_UINT_LEAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1677 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1678 + H5T_NATIVE_UINT_LEAST32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1679 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1680 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1681 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1682 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1683 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1684 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1685 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1686 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1687 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1688 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1689 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1690 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1691 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1692 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1693 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1694 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1695 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1696 + if((H5T_NATIVE_INT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1697 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1698 + H5T_NATIVE_INT_FAST32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1699 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1700 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1701 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1702 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1703 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1704 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1705 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1706 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1707 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1708 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1709 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1710 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1711 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1712 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1713 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1714 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1715 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1716 + if((H5T_NATIVE_UINT_FAST32_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1717 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1718 + H5T_NATIVE_UINT_FAST32_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1719 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1720 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1721 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1722 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1723 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1724 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1725 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1726 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1727 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1728 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1729 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1730 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1731 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1732 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1733 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1734 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1735 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1736 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1737 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1738 + if((H5T_NATIVE_INT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1739 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1740 + H5T_NATIVE_INT64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1741 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1742 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1743 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1744 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1745 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1746 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1747 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1748 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1749 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1750 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1751 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1752 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1753 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1754 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1755 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1756 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1757 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1758 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1759 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1760 + if((H5T_NATIVE_UINT64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1761 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1762 + H5T_NATIVE_UINT64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1763 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1764 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1765 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1766 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1767 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1768 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1769 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1770 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1771 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1772 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1773 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1774 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1775 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1776 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1777 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1778 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1779 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1780 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1781 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1782 + if((H5T_NATIVE_INT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1783 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1784 + H5T_NATIVE_INT_LEAST64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1785 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1786 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1787 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1788 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1789 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1790 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1791 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1792 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1793 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1794 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1795 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1796 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1797 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1798 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1799 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1800 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1801 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1802 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1803 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1804 + if((H5T_NATIVE_UINT_LEAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1805 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1806 + H5T_NATIVE_UINT_LEAST64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1807 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1808 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1809 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1810 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1811 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1812 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1813 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1814 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1815 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1816 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1817 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1818 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1819 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1820 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1821 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1822 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1823 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1824 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1825 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1826 + if((H5T_NATIVE_INT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1827 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1828 + H5T_NATIVE_INT_FAST64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1829 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1830 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1831 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1832 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1833 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1834 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1835 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1836 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1837 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1838 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1839 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1840 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1841 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1842 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1843 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1844 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1845 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1846 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1847 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1848 + if((H5T_NATIVE_UINT_FAST64_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1849 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1850 + H5T_NATIVE_UINT_FAST64_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1851 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1852 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1853 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1854 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1855 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1856 + * IIIIIIII IIIIIIII IIIIIIII IIIIIIII
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1857 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1858 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1859 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1860 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1861 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1862 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1863 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1864 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1865 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1866 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1867 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1868 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1869 + dt->shared->u.atomic.u.i.sign = H5T_SGN_2;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1870 + if((H5T_NATIVE_LLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1871 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1872 + H5T_NATIVE_LLONG_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1873 + H5T_NATIVE_LLONG_COMP_ALIGN_g = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1874 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1875 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1876 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1877 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1878 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1879 + * UUUUUUUU UUUUUUUU UUUUUUUU UUUUUUUU
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1880 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1881 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1882 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1883 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1884 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1885 + dt->shared->type = H5T_INTEGER;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1886 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1887 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1888 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1889 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1890 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1891 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1892 + dt->shared->u.atomic.u.i.sign = H5T_SGN_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1893 + if((H5T_NATIVE_ULLONG_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1894 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1895 + H5T_NATIVE_ULLONG_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1896 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1897 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1898 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1899 + * SEEEEEEE EMMMMMMM MMMMMMMM MMMMMMMM
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1900 + * Implicit bit? yes
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1901 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1902 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1903 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1904 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1905 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1906 + dt->shared->type = H5T_FLOAT;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1907 + dt->shared->size = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1908 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1909 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1910 + dt->shared->u.atomic.prec = 32;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1911 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1912 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1913 + dt->shared->u.atomic.u.f.sign = 31;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1914 + dt->shared->u.atomic.u.f.epos = 23;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1915 + dt->shared->u.atomic.u.f.esize = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1916 + dt->shared->u.atomic.u.f.ebias = 0x0000007f;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1917 + dt->shared->u.atomic.u.f.mpos = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1918 + dt->shared->u.atomic.u.f.msize = 23;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1919 + dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1920 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1921 + if((H5T_NATIVE_FLOAT_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1922 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1923 + H5T_NATIVE_FLOAT_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1924 + H5T_NATIVE_FLOAT_COMP_ALIGN_g = 4;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1925 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1926 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1927 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1928 + * SEEEEEEE EEEEMMMM MMMMMMMM MMMMMMMM
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1929 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1930 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1931 + * Implicit bit? yes
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1932 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1933 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1934 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1935 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1936 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1937 + dt->shared->type = H5T_FLOAT;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1938 + dt->shared->size = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1939 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1940 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1941 + dt->shared->u.atomic.prec = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1942 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1943 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1944 + dt->shared->u.atomic.u.f.sign = 63;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1945 + dt->shared->u.atomic.u.f.epos = 52;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1946 + dt->shared->u.atomic.u.f.esize = 11;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1947 + dt->shared->u.atomic.u.f.ebias = 0x000003ff;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1948 + dt->shared->u.atomic.u.f.mpos = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1949 + dt->shared->u.atomic.u.f.msize = 52;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1950 + dt->shared->u.atomic.u.f.norm = H5T_NORM_IMPLIED;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1951 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1952 + if((H5T_NATIVE_DOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1953 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1954 + H5T_NATIVE_DOUBLE_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1955 + H5T_NATIVE_DOUBLE_COMP_ALIGN_g = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1956 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1957 + /*
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1958 + * 15 14 13 12
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1959 + * ???????? ???????? ???????? ????????
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1960 + * 11 10 9 8
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1961 + * ???????? ???????? SEEEEEEE EEEEEEEE
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1962 + * 7 6 5 4
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1963 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1964 + * 3 2 1 0
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1965 + * MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1966 + * Implicit bit? no
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1967 + * Alignment: none
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1968 + */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1969 + if(NULL == (dt = H5T__alloc()))
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1970 + HGOTO_ERROR(H5E_DATATYPE, H5E_NOSPACE, FAIL, "datatype allocation failed")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1971 + dt->shared->state = H5T_STATE_IMMUTABLE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1972 + dt->shared->type = H5T_FLOAT;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1973 + dt->shared->size = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1974 + dt->shared->u.atomic.order = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1975 + dt->shared->u.atomic.offset = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1976 + dt->shared->u.atomic.prec = 80;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1977 + dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1978 + dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1979 + dt->shared->u.atomic.u.f.sign = 79;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1980 + dt->shared->u.atomic.u.f.epos = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1981 + dt->shared->u.atomic.u.f.esize = 15;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1982 + dt->shared->u.atomic.u.f.ebias = 0x00003fff;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1983 + dt->shared->u.atomic.u.f.mpos = 0;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1984 + dt->shared->u.atomic.u.f.msize = 64;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1985 + dt->shared->u.atomic.u.f.norm = H5T_NORM_NONE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1986 + dt->shared->u.atomic.u.f.pad = H5T_PAD_ZERO;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1987 + if((H5T_NATIVE_LDOUBLE_g = H5I_register(H5I_DATATYPE, dt, FALSE)) < 0)
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1988 + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "can't register ID for built-in datatype")
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1989 + H5T_NATIVE_LDOUBLE_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1990 + H5T_NATIVE_LDOUBLE_COMP_ALIGN_g = 16;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1991 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1992 + /* Set the native order for this machine */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1993 + H5T_native_order_g = H5T_ORDER_LE;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1994 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1995 + /* Structure alignment for pointers, hvl_t, hobj_ref_t, hdset_reg_ref_t */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1996 + H5T_POINTER_COMP_ALIGN_g = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1997 + H5T_HVL_COMP_ALIGN_g = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1998 + H5T_HOBJREF_COMP_ALIGN_g = 8;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
1999 + H5T_HDSETREGREF_COMP_ALIGN_g = 1;
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2000 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2001 +done:
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2002 + if(ret_value < 0) {
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2003 + if(dt != NULL) {
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2004 + dt->shared = H5FL_FREE(H5T_shared_t, dt->shared);
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2005 + dt = H5FL_FREE(H5T_t, dt);
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2006 + } /* end if */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2007 + } /* end if */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2008 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2009 + FUNC_LEAVE_NOAPI(ret_value);
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2010 +} /* end H5TN_init_interface() */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2011 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2012 +/****************************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2013 +/* ALIGNMENT and signal-handling status */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2014 +/****************************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2015 +/* Signal() support: yes */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2016 +/* setjmp() support: yes */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2017 +/* longjmp() support: yes */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2018 +/* sigsetjmp() support: no */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2019 +/* siglongjmp() support: no */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2020 +/* sigprocmask() support: no */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2021 +
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2022 +/******************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2023 +/* signal handlers statistics */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2024 +/******************************/
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2025 +/* signal_handlers tested: 10 times */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2026 +/* sigbus_handler called: 5 times */
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2027 +/* sigsegv_handler called: 5 times */
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2028 diff -rNu a/src/Makefile.am b/src/Makefile.am
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2029 --- a/src/Makefile.am 2012-10-11 13:30:56.000000000 -0400
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2030 +++ b/src/Makefile.am 2014-09-01 11:57:11.711319644 -0400
3922
5159c01c3c26 hdf5: update to v1.8.14
John Donoghue <john.donoghue@ieee.org>
parents: 3704
diff changeset
2031 @@ -22,17 +22,12 @@
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2032 include $(top_srcdir)/config/lt_vers.am
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2033
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2034
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2035 -# How to build H5detect for number format detection.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2036 -# Use -g to force no optimization since many compilers (e.g., Intel) takes
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2037 -# a long time to compile it with any optimization on. H5detect is used
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2038 -# to generate H5Tinit.c once. So, optimization is not critical.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2039 -noinst_PROGRAMS = H5detect H5make_libsettings
3922
5159c01c3c26 hdf5: update to v1.8.14
John Donoghue <john.donoghue@ieee.org>
parents: 3704
diff changeset
2040
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2041 # Our main target, the HDF5 library
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2042 lib_LTLIBRARIES=libhdf5.la
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2043
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2044 # Add libtool numbers to the HDF5 library (from config/lt_vers.am)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2045 -libhdf5_la_LDFLAGS= -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE) $(AM_LDFLAGS)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2046 +libhdf5_la_LDFLAGS= -no-undefined -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE) $(AM_LDFLAGS)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2047
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2048 # H5Tinit.c and H5lib_settings.c are generated files and should be cleaned.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2049 MOSTLYCLEANFILES=H5Tinit.c H5lib_settings.c
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2050 @@ -121,25 +114,17 @@
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2051
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2052 # Number format detection
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2053 # The LD_LIBRARY_PATH setting is a kludge.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2054 -# Things should have been all set during H5detect making.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2055 # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2056 # is set to ignore the error.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2057 -H5Tinit.c: H5detect$(EXEEXT)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2058 - LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2059 - sed -e 's/-L/:/g' -e 's/ //g'`" \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2060 - $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2061 - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2062 - ($(RM) $@ ; exit 1)
3704
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2063 +H5Tinit.c: H5Tinit.c.mingw
6ac813175f6f fix hdf5 builds for 64-bit Windows
John W. Eaton <jwe@octave.org>
parents: 3238
diff changeset
2064 + cp $(srcdir)/H5Tinit.c.mingw $@
2929
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2065
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2066 # Build configuration header file generation
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2067 # The LD_LIBRARY_PATH setting is a kludge.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2068 -# Things should have been all set during H5make_libsettings making.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2069 # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2070 # is set to ignore the error.
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2071 -H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2072 - LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2073 - sed -e 's/-L/:/g' -e 's/ //g'`" \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2074 - $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2075 +H5lib_settings.c: $(top_srcdir)/bin/make_lib_settings libhdf5.settings
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2076 + perl $(top_srcdir)/bin/make_lib_settings < libhdf5.settings > $@ || \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2077 (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2078 ($(RM) $@ ; exit 1)
4b72e7cf4f30 shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2079