mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r10252] Purpose:
Remove all.zip from HDF5 windows support. Description: Add windows specific Fortran files. Solution: Platforms tested: MSVS 6.0 on windows XP. Misc. update:
This commit is contained in:
parent
36d7bd204d
commit
217c2c06cb
30
windows/fortran/src/H5fortran_types.f90
Executable file
30
windows/fortran/src/H5fortran_types.f90
Executable file
@ -0,0 +1,30 @@
|
||||
!
|
||||
! This file contains HDF5 Fortran90 type definitions
|
||||
!
|
||||
MODULE H5FORTRAN_TYPES
|
||||
!
|
||||
! HDF5 integers
|
||||
!
|
||||
! Each of the arguments of SELECTED_INT_KIND function should be
|
||||
! determined by configure.
|
||||
! R_LARGE is the number of digits for the biggest integer supported.
|
||||
! R_INTEGER is the number of digits in INTEGER
|
||||
! For example:
|
||||
! On 64 bit machine ( DEC ALPHA) R_LARGE = 18 and R_INTEGER = 9
|
||||
! On 32 bit machines ( Sparc Solaris ) R_LARGE = 9 and R_INTEGER = 9
|
||||
!
|
||||
INTEGER, PARAMETER :: R_LARGE = 9
|
||||
INTEGER, PARAMETER :: R_INTEGER = 9
|
||||
INTEGER, PARAMETER :: HADDR_T = SELECTED_INT_KIND(R_LARGE)
|
||||
INTEGER, PARAMETER :: HSIZE_T = SELECTED_INT_KIND(R_LARGE)
|
||||
INTEGER, PARAMETER :: HSSIZE_T = SELECTED_INT_KIND(R_LARGE)
|
||||
INTEGER, PARAMETER :: HID_T = SELECTED_INT_KIND(R_INTEGER)
|
||||
INTEGER, PARAMETER :: SIZE_T = SELECTED_INT_KIND(R_LARGE)
|
||||
|
||||
!
|
||||
! Some HDF5 FORTARN90 default values ( here for now 8/5/99 EIP )
|
||||
!
|
||||
|
||||
INTEGER(SIZE_T), PARAMETER :: OBJECT_NAMELEN_DEFAULT_F = -1
|
||||
|
||||
END MODULE H5FORTRAN_TYPES
|
Loading…
x
Reference in New Issue
Block a user