summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5fortran_types.f90.in
blob: 4ff2ef2c23ebc0a2fd3c281e46482a7795ba88a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
!   Copyright by the Board of Trustees of the University of Illinois.         *
!   All rights reserved.                                                      *
!                                                                             *
!   This file is part of HDF5.  The full HDF5 copyright notice, including     *
!   terms governing use, modification, and redistribution, is contained in    *
!   the files COPYING and Copyright.html.  COPYING can be found at the root   *
!   of the source code distribution tree; Copyright.html can be found at the  *
!   root level of an installed copy of the electronic HDF5 document set and   *
!   is linked from the top-level documents page.  It can also be found at     *
!   http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html.  If you do not have     *
!   access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
!
!
!  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 = @R_LARGE@
         INTEGER, PARAMETER :: R_INTEGER = @R_INTEGER@
         INTEGER, PARAMETER :: HSIZE_T  = @HSIZE_T@
         INTEGER, PARAMETER :: HSSIZE_T = @HSSIZE_T@
         INTEGER, PARAMETER :: HID_T    = @HID_T@
         INTEGER, PARAMETER :: SIZE_T   = @SIZE_T@

         !
         ! Some HDF5 FORTARN90 default values ( here for now 8/5/99 EIP )
         !

         INTEGER(SIZE_T), PARAMETER :: OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@

       END MODULE H5FORTRAN_TYPES