diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-01-09 17:49:23 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-01-09 17:49:23 (GMT) |
commit | 1063eb8a1ea0cbdbdc4244f0627b94b3096d65ab (patch) | |
tree | bb88c2ea66aebd882d50d7cc2ce258d5e3c51c44 /src/H5detect.c | |
parent | 159fa7a232e1961940b83f035f4c27338d26337e (diff) | |
download | hdf5-1063eb8a1ea0cbdbdc4244f0627b94b3096d65ab.zip hdf5-1063eb8a1ea0cbdbdc4244f0627b94b3096d65ab.tar.gz hdf5-1063eb8a1ea0cbdbdc4244f0627b94b3096d65ab.tar.bz2 |
[svn-r152] Changes since 19980107
----------------------
./html/Datatypes.html
Updated to match code.
./src/H5Odtype.c
./src/H5Oprivate.h
./src/H5Tpkg.h
./src/H5detect.c
Changed H5T_FIXED to H5T_INTEGER.
./src/H5T.c
./src/H5Tprivate.h
./src/H5Tpublic.h
./test/dtypes.c
Implemented lots of type properties.
./src/H5detect.c
./src/H5Tpublic.h
It is no longer necessary to call H5init() before using a
predefined data type.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index 43464c4..82b662f 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -98,13 +98,13 @@ static detected_t Known[] = { {"Byte addressable", 1, 0, LE_1, INTEGER}, - /* Little-endian fixed-point */ + /* Little-endian integer */ {"Little-endian", 2, 0, LE_2, INTEGER}, {"Little-endian", 4, 0, LE_4, INTEGER}, - /* Big-endian fixed-point */ + /* Big-endian integer */ {"Big-endian", 2, 0, BE_2, INTEGER}, {"Big-endian", @@ -284,7 +284,7 @@ static hbool_t interface_initialize_g = FALSE;\n\ /* Global definitions for each type */ for (i=0; i<nd; i++) { - printf ("hid_t H5T_NATIVE_%s;\n", d[i].varname); + printf ("hid_t H5T_NATIVE_%s_g = FAIL;\n", d[i].varname); } /* Function declaration */ @@ -318,7 +318,7 @@ H5T_init (void)\n\ dt->u.atomic.prec = %d;\n\ dt->u.atomic.lo_pad = H5T_PAD_ZERO;\n\ dt->u.atomic.hi_pad = H5T_PAD_ZERO;\n", - d[i].msize?"FLOAT":"FIXED", /*class */ + d[i].msize?"FLOAT":"INTEGER", /*class */ d[i].size+abs (d[i].padding), /*size */ d[i].perm[0]?"BE":"LE", /*byte order */ 8*d[i].size); /*precision */ @@ -350,7 +350,7 @@ H5T_init (void)\n\ /* Atomize the type */ printf ("\ - if ((H5T_NATIVE_%s = H5Aregister_atom (H5_DATATYPE, dt))<0) {\n\ + if ((H5T_NATIVE_%s_g = H5Aregister_atom (H5_DATATYPE, dt))<0) {\n\ HRETURN_ERROR (H5E_DATATYPE, H5E_CANTINIT, FAIL,\n\ \"can't initialize type system (atom registration \"\n\ \"failure\");\n\ @@ -829,7 +829,7 @@ true exponent. The radix point is assumed\n\ to be before the first `M' bit. Any bit\n\ of a floating-point value not falling into one\n\ of these categories is printed as a question\n\ -mark. Bits of fixed-point types are printed as\n\ +mark. Bits of integer types are printed as\n\ `I' for 2's complement and `U' for magnitude.\n\ \n\ If the most significant bit of the normalized\n\ |