diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-08-14 22:09:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-08-14 22:09:56 (GMT) |
commit | e87fc517b8fc391cf18c268ce0b195eb7398a4a7 (patch) | |
tree | 494d1d87f71f87f320707989b7f12eec0f1d3805 /src/H5Zprivate.h | |
parent | eef2829d1655e42225b2400c6e3d123be26e08a8 (diff) | |
download | hdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.zip hdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.tar.gz hdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.tar.bz2 |
[svn-r4355] Purpose:
Code cleanup (sorta)
Description:
When the first versions of the HDF5 library were designed, I remembered
vividly the difficulties of porting code from a 32-bit platform to a 16-bit
platform and asked that people use intn & uintn instead of int & unsigned
int, respectively. However, in hindsight, this was overkill and
unnecessary since we weren't going to be porting the HDF5 library to
16-bit architectures.
Currently, the extra uintn & intn typedefs are causing problems for users
who'd like to include both the HDF5 and HDF4 header files in one source
module (like Kent's h4toh5 library).
Solution:
Changed the uintn & intn's to unsigned and int's respectively.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5Zprivate.h')
-rw-r--r-- | src/H5Zprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h index 4726435..f1e46e2 100644 --- a/src/H5Zprivate.h +++ b/src/H5Zprivate.h @@ -34,10 +34,10 @@ struct H5O_pline_t; /*forward decl*/ __DLL__ herr_t H5Z_register(H5Z_filter_t id, const char *comment, H5Z_func_t filter); __DLL__ herr_t H5Z_append(struct H5O_pline_t *pline, H5Z_filter_t filter, - uintn flags, size_t cd_nelmts, + unsigned flags, size_t cd_nelmts, const unsigned int cd_values[]); __DLL__ herr_t H5Z_pipeline(H5F_t *f, const struct H5O_pline_t *pline, - uintn flags, uintn *filter_mask/*in,out*/, + unsigned flags, unsigned *filter_mask/*in,out*/, size_t *nbytes/*in,out*/, size_t *buf_size/*in,out*/, void **buf/*in,out*/); __DLL__ H5Z_class_t *H5Z_find(H5Z_filter_t id); |