[svn-r5366]

Purpose:
    Update description of h5dread/write_f and h5aread/write_f dims parameter.
Description:
    h5dread/write_f, h5aread/write_f
        Added new overloading to dims parameter description.
        Noted that prior dims type is deprecated and will be removed in 1.6.
Platforms tested:
    IE 5
This commit is contained in:
Frank Baker
2002-05-06 15:07:55 -05:00
parent 3f7fdf13fe
commit a82e8892c4
2 changed files with 34 additions and 18 deletions

View File

@@ -193,11 +193,15 @@ FORTRAN Dataset API -- h5d
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
TYPE, INTENT(INOUT) :: buf ! Data buffer; may be a scalar or an array
INTEGER, INTENT(IN) :: dims(7) ! Array to hold corresponding
! dimension sizes of data buffer buf;
! dim(k) has value of the k-th dimension
! of buffer buf;
DIMENSION(*), INTEGER(HSIZE_T), INTENT(IN) :: dims
! Array to hold corresponding dimension
! sizes of data buffer buf; dim(k) has
! value of the k-th dimension of buffer buf;
! values are ignored if buf is a scalar
!
! Deprecated type, will be removed in
! Release 1.6:
! INTEGER, INTENT(IN) :: dims(7)
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id
@@ -265,11 +269,15 @@ FORTRAN Dataset API -- h5d
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
INTEGER(HID_T), INTENT(IN) :: mem_type_id ! Memory datatype identifier
TYPE, INTENT(IN) :: buf ! Data buffer; may be a scalar or an array
INTEGER, INTENT(IN) :: dims(7) ! Array to hold corresponding
! dimension sizes of data buffer buf;
! dim(k) has value of the k-th dimension
! of buffer buf;
DIMENSION(*), INTEGER(HSIZE_T), INTENT(IN) :: dims
! Array to hold corresponding dimension
! sizes of data buffer buf; dim(k) has
! value of the k-th dimension of buffer buf;
! values are ignored if buf is a scalar
!
! Deprecated type, will be removed in
! Release 1.6:
! INTEGER, INTENT(IN) :: dims(7)
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: mem_space_id