diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-11-25 17:21:21 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-11-25 17:21:21 (GMT) |
commit | ffcbc32d669a0aabae30ed554a2a10446e69d25d (patch) | |
tree | e8e3b0648004b21b900b37ee0da48034d74e662f /src/H5Tpublic.h | |
parent | 37ce8f33ca1bc4361426b5374a12926b98839b13 (diff) | |
download | hdf5-ffcbc32d669a0aabae30ed554a2a10446e69d25d.zip hdf5-ffcbc32d669a0aabae30ed554a2a10446e69d25d.tar.gz hdf5-ffcbc32d669a0aabae30ed554a2a10446e69d25d.tar.bz2 |
[svn-r952] Changes since 19981125
----------------------
./doc/html/Datatypes.html
./src/H5.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5detect.c
./test/chunk.c
./test/dtypes.c
./test/h5test.c
./test/mtime.c
./test/tattr.c
./test/th5s.c
./tools/h5dump.c
./tools/h5dumputil.c
./tools/h5import.c
./tools/h5ls.c
./tools/h5toh4.c
./tools/h5tools.c
Renamed the old H5T_NATIVE_CHAR type to H5T_NATIVE_SCHAR to
denote that it is always signed.
Added a new H5T_NATIVE_CHAR type which has the same range,
representation, and behavior as either H5T_NATIVE_SCHAR or
H5T_NATIVE_UCHAR depending on the compiler and its
command-line switches for the application source file which
references H5T_NATIVE_CHAR. If source files are compiled with
different switches then each source file will resolve
H5T_NATIVE_CHAR appropriately so it matches the C type `char'
in that source file.
NOTE: THERE ARE OTHER DOCUMENTATION FILES THAT I DIDN'T CHANGE
BECAUSE I CAN'T MODIFY THE SOURCE.
./test/extend.c
Swapped two lines to prevent diagnostic messages from messing
up the formatted output.
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r-- | src/H5Tpublic.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 55651a2..e301d72 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -329,7 +329,8 @@ extern hid_t H5T_FORTRAN_S1_g; * to C's `long_long' and LDOUBLE is `long double' (these types might be the * same as `LONG' and `DOUBLE' respectively. */ -#define H5T_NATIVE_CHAR (H5open(), H5T_NATIVE_CHAR_g) +#define H5T_NATIVE_CHAR (CHAR_MIN?H5T_NATIVE_SCHAR:H5T_NATIVE_UCHAR) +#define H5T_NATIVE_SCHAR (H5open(), H5T_NATIVE_SCHAR_g) #define H5T_NATIVE_UCHAR (H5open(), H5T_NATIVE_UCHAR_g) #define H5T_NATIVE_SHORT (H5open(), H5T_NATIVE_SHORT_g) #define H5T_NATIVE_USHORT (H5open(), H5T_NATIVE_USHORT_g) @@ -351,7 +352,7 @@ extern hid_t H5T_FORTRAN_S1_g; #define H5T_NATIVE_HSSIZE (H5open(), H5T_NATIVE_HSSIZE_g) #define H5T_NATIVE_HERR (H5open(), H5T_NATIVE_HERR_g) #define H5T_NATIVE_HBOOL (H5open(), H5T_NATIVE_HBOOL_g) -extern hid_t H5T_NATIVE_CHAR_g; +extern hid_t H5T_NATIVE_SCHAR_g; extern hid_t H5T_NATIVE_UCHAR_g; extern hid_t H5T_NATIVE_SHORT_g; extern hid_t H5T_NATIVE_USHORT_g; |