summaryrefslogtreecommitdiffstats
path: root/windows/fortran
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2005-03-22 13:52:49 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2005-03-22 13:52:49 (GMT)
commit217c2c06cbec068430d957f32ec9e6f8314ca90c (patch)
tree24c390d3cc1ecbe932b011bbca5be3891efa6684 /windows/fortran
parent36d7bd204d1d270b702ef581446afc1e1080cbd7 (diff)
downloadhdf5-217c2c06cbec068430d957f32ec9e6f8314ca90c.zip
hdf5-217c2c06cbec068430d957f32ec9e6f8314ca90c.tar.gz
hdf5-217c2c06cbec068430d957f32ec9e6f8314ca90c.tar.bz2
[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:
Diffstat (limited to 'windows/fortran')
-rwxr-xr-xwindows/fortran/src/H5fortran_types.f9030
1 files changed, 30 insertions, 0 deletions
diff --git a/windows/fortran/src/H5fortran_types.f90 b/windows/fortran/src/H5fortran_types.f90
new file mode 100755
index 0000000..e5139b6
--- /dev/null
+++ b/windows/fortran/src/H5fortran_types.f90
@@ -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