diff options
author | Leon Arber <larber@ncsa.uiuc.edu> | 2004-05-06 22:44:38 (GMT) |
---|---|---|
committer | Leon Arber <larber@ncsa.uiuc.edu> | 2004-05-06 22:44:38 (GMT) |
commit | 1867c05efb2527e435776808720572e31ab95bb7 (patch) | |
tree | bd196861d102803a7c170872ff7ed0920942e95c /src/H5Zprivate.h | |
parent | 28eb73c97268c016728bce5e3e8d95ceb1f66b39 (diff) | |
download | hdf5-1867c05efb2527e435776808720572e31ab95bb7.zip hdf5-1867c05efb2527e435776808720572e31ab95bb7.tar.gz hdf5-1867c05efb2527e435776808720572e31ab95bb7.tar.bz2 |
[svn-r8488] Purpose:
Bug fix.
Description:
Fixed handling of trivial data transform expressions (like 5/3 + 3) and some
data coversion fixes. Also added more tests to dtransform.c
Solution:
Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps
the transform expression is complicated and is a non-trivial reduction.
Added tests for data conversion to dtransform as well as tests for a trivial
data transform expression.
Platforms tested:
h5committest'ed, except used arabica instead of sol and didn't do on copper
b/c no logon there. Problem noted with mtime test...doesn't appear to be
related to anything having to do with data transforms.
Diffstat (limited to 'src/H5Zprivate.h')
-rw-r--r-- | src/H5Zprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h index 33b7da9..0c43bf7 100644 --- a/src/H5Zprivate.h +++ b/src/H5Zprivate.h @@ -66,10 +66,11 @@ H5_DLL herr_t H5Z_delete(struct H5O_pline_t *pline, H5Z_filter_t filter); /* Data Transform Functions */ typedef struct H5Z_data_xform_t H5Z_data_xform_t; /* Defined in H5Ztrans.c */ + H5_DLL H5Z_data_xform_t *H5Z_xform_create(const char *expr); H5_DLL herr_t H5Z_xform_copy(H5Z_data_xform_t **data_xform_prop); H5_DLL herr_t H5Z_xform_destroy(H5Z_data_xform_t *data_xform_prop); -H5_DLL void H5Z_xform_eval(const H5Z_data_xform_t *data_xform_prop, void* array, hsize_t array_size, const H5T_t *buf_type); +H5_DLL herr_t H5Z_xform_eval(const H5Z_data_xform_t *data_xform_prop, void* array, hsize_t array_size, const H5T_t *buf_type); H5_DLL hbool_t H5Z_xform_noop(const H5Z_data_xform_t *data_xform_prop); #endif |