Mercurial > mxe-octave
annotate src/mingw-hdf5-1.patch @ 3238:62dd70999e83
rename hdf5-cross-1-fixes.patch to mingw-hdf5-1.patch
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 21 Aug 2013 14:36:01 -0400 |
parents | src/hdf5-1-cross-fixes.patch@4b72e7cf4f30 |
children | 6ac813175f6f |
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 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 +++ b/bin/make_lib_settings 2012-12-26 16:20:00.517121947 -0500 |
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 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 +++ b/configure.ac 2012-12-26 16:20:00.517121947 -0500 |
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 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 +++ b/src/H5Tinit.c.mingw32 2012-12-26 16:20:00.521121812 -0500 |
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 */ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1044 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
|
1045 --- a/src/Makefile.am 2012-10-11 13:30:56.000000000 -0400 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1046 +++ b/src/Makefile.am 2012-12-26 16:29:28.153764421 -0500 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1047 @@ -22,18 +22,11 @@ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1048 include $(top_srcdir)/config/lt_vers.am |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1049 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1050 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1051 -# 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
|
1052 -# 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
|
1053 -# 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
|
1054 -# 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
|
1055 -noinst_PROGRAMS = H5detect H5make_libsettings |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1056 -H5detect_CFLAGS = -g $(AM_CFLAGS) |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1057 - |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1058 # Our main target, the HDF5 library |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1059 lib_LTLIBRARIES=libhdf5.la |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1060 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1061 # 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
|
1062 -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
|
1063 +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
|
1064 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1065 # 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
|
1066 MOSTLYCLEANFILES=H5Tinit.c H5lib_settings.c |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1067 @@ -121,25 +114,17 @@ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1068 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1069 # Number format detection |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1070 # 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
|
1071 -# 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
|
1072 # 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
|
1073 # is set to ignore the error. |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1074 -H5Tinit.c: H5detect$(EXEEXT) |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1075 - 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
|
1076 - 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
|
1077 - $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1078 - (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1079 - ($(RM) $@ ; exit 1) |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1080 +H5Tinit.c: H5Tinit.c.mingw32 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1081 + cp $(srcdir)/H5Tinit.c.mingw32 $@ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1082 |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1083 # Build configuration header file generation |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1084 # 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
|
1085 -# 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
|
1086 # 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
|
1087 # is set to ignore the error. |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1088 -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
|
1089 - 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
|
1090 - 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
|
1091 - $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1092 +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
|
1093 + 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
|
1094 (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1095 ($(RM) $@ ; exit 1) |
4b72e7cf4f30
shared libraries and cross build for hdf5
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1096 |