diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-07-07 17:03:02 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-07-07 17:03:02 (GMT) |
commit | c949e7c391fe606bf8a680bbc41848d2cd7cc627 (patch) | |
tree | 3aa06572baed0dc3037756cbdf77ffa960ed553c /src/H5Fpublic.h | |
parent | faa845f84b89eea5dd527de8f79adf151dd2f92d (diff) | |
download | hdf5-c949e7c391fe606bf8a680bbc41848d2cd7cc627.zip hdf5-c949e7c391fe606bf8a680bbc41848d2cd7cc627.tar.gz hdf5-c949e7c391fe606bf8a680bbc41848d2cd7cc627.tar.bz2 |
[svn-r8818]
Purpose: Potential bug fix
Description: In H5Fget_filesize, file size was returned as haddr_t. Change it to hsize_t
and return it as parameter to make fortran interface easier.
Platforms tested: fuss(simple change).
Diffstat (limited to 'src/H5Fpublic.h')
-rw-r--r-- | src/H5Fpublic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h index c372130..c83f12e 100644 --- a/src/H5Fpublic.h +++ b/src/H5Fpublic.h @@ -113,7 +113,7 @@ H5_DLL herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void** file_handle); H5_DLL herr_t H5Fmount(hid_t loc, const char *name, hid_t child, hid_t plist); H5_DLL herr_t H5Funmount(hid_t loc, const char *name); H5_DLL hssize_t H5Fget_freespace(hid_t file_id); -H5_DLL haddr_t H5Fget_filesize(hid_t file_id); +H5_DLL herr_t H5Fget_filesize(hid_t file_id, hsize_t *size); H5_DLL ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size); #ifdef __cplusplus |