[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:
@@ -241,11 +241,15 @@ FORTRAN Attribute API -- h5a
|
||||
INTEGER(HID_T), INTENT(IN) :: memtype_id ! Attribute datatype
|
||||
! identifier (in memory)
|
||||
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
|
||||
END SUBROUTINE h5aread_f
|
||||
@@ -270,13 +274,17 @@ FORTRAN Attribute API -- h5a
|
||||
INTEGER(HID_T), INTENT(IN) :: memtype_id ! Attribute datatype
|
||||
! identifier (in memory)
|
||||
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
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
! 0 on success and -1 on failure
|
||||
!
|
||||
! 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
|
||||
END SUBROUTINE h5awrite_f
|
||||
</pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user