diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-06-18 21:03:30 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-06-18 21:03:30 (GMT) |
commit | 23465486edeb6e9d76ae795d523bedbf4e665d64 (patch) | |
tree | 3831eaca941ba6521cd31463bfdcb8739805bb3a /src/H5Tconv.c | |
parent | d6f7fda058353212449fce012787d0d46d866f2f (diff) | |
download | hdf5-23465486edeb6e9d76ae795d523bedbf4e665d64.zip hdf5-23465486edeb6e9d76ae795d523bedbf4e665d64.tar.gz hdf5-23465486edeb6e9d76ae795d523bedbf4e665d64.tar.bz2 |
[svn-r432] Changes since 19980617
----------------------
./html/Datatypes.html
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./src/H5detect.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/external.c
./test/tattr.c
./test/th5s.c
Organized the predefined data types.
./html/H5.intro.html
NO MODIFICATIONS! This file is a mess (obviously generated
from something else) so I skipped updating it!
./src/h5ls.c
./test/dsets.c
./test/tattr.c
./test/th5s.c
Added extra argument to H5Sget_dims() calls per Albert's last
update.
Diffstat (limited to 'src/H5Tconv.c')
-rw-r--r-- | src/H5Tconv.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 3f393d2..2d69dc1 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -54,7 +54,7 @@ H5T_conv_noop(hid_t __unused__ src_id, hid_t __unused__ dst_id, switch (cdata->command) { case H5T_CONV_INIT: - /* Nothing to initialize */ + cdata->need_bkg = H5T_BKG_NO; break; case H5T_CONV_CONV: @@ -147,6 +147,7 @@ H5T_conv_order(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, HRETURN_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "conversion not supported"); } + cdata->need_bkg = H5T_BKG_NO; break; case H5T_CONV_CONV: @@ -578,6 +579,7 @@ H5T_conv_i_i (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, HRETURN_ERROR (H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "destination size is too large"); } + cdata->need_bkg = H5T_BKG_NO; break; case H5T_CONV_FREE: @@ -855,7 +857,7 @@ H5T_conv_i_i (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, /*------------------------------------------------------------------------- - * Function: H5T_conv_i32le_r64le + * Function: H5T_conv_i32le_f64le * * Purpose: Converts 4-byte little-endian integers (signed or unsigned) * to 8-byte litte-endian IEEE floating point. @@ -872,7 +874,7 @@ H5T_conv_i_i (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, *------------------------------------------------------------------------- */ herr_t -H5T_conv_i32le_r64le (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, +H5T_conv_i32le_f64le (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, void *buf, void __unused__ *bkg) { uint8 *s=NULL, *d=NULL; /*src and dst buf pointers */ @@ -886,11 +888,12 @@ H5T_conv_i32le_r64le (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, uintn exponent; /*exponent */ intn i; /*counter */ - FUNC_ENTER (H5T_conv_i32le_r64le, FAIL); + FUNC_ENTER (H5T_conv_i32le_f64le, FAIL); switch (cdata->command) { case H5T_CONV_INIT: assert (sizeof(intn)>=4); + cdata->need_bkg = H5T_BKG_NO; break; case H5T_CONV_FREE: |