diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:29:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-18 16:29:33 (GMT) |
commit | 4105dfedb98236c9e2029ff14b0694161aabfb05 (patch) | |
tree | d14f3427f78754ab46d05732133bd27026dc9fb0 /src/H5Ppublic.h | |
parent | d99164a9ed4fb031db5d3cf3d3086862f25f48f1 (diff) | |
download | hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.zip hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.gz hdf5-4105dfedb98236c9e2029ff14b0694161aabfb05.tar.bz2 |
[svn-r7379] Purpose:
Code cleanup
Description:
Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)
Platforms tested:
FreeBSD 4.8 (sleipnir)
too small to need h5committest
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r-- | src/H5Ppublic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index d91c1f5..40573ea 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -144,9 +144,15 @@ H5_DLL herr_t H5Punregister(hid_t pclass_id, const char *name); H5_DLL herr_t H5Pclose_class(hid_t plist_id); H5_DLL herr_t H5Pclose(hid_t plist_id); H5_DLL hid_t H5Pcopy(hid_t plist_id); +#ifdef H5_WANT_H5_V1_6_COMPAT H5_DLL herr_t H5Pget_version(hid_t plist_id, int *boot/*out*/, int *freelist/*out*/, int *stab/*out*/, int *shhdr/*out*/); +#else /* H5_WANT_H5_V1_6_COMPAT */ +H5_DLL herr_t H5Pget_version(hid_t plist_id, unsigned *boot/*out*/, + unsigned *freelist/*out*/, unsigned *stab/*out*/, + unsigned *shhdr/*out*/); +#endif /* H5_WANT_H5_V1_6_COMPAT */ H5_DLL herr_t H5Pset_userblock(hid_t plist_id, hsize_t size); H5_DLL herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size); H5_DLL herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, |