summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5f90global.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-06-04 21:28:06 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-06-04 21:28:06 (GMT)
commit5fcefe52a26e265ab426ecc692bcf1e5cf8adb3f (patch)
tree179ea08774d1e5a0ba7550ef29d9e94f2ed7798d /fortran/src/H5f90global.f90
parent53f03a4c721f1733141645ac4c072f12b04706ee (diff)
downloadhdf5-5fcefe52a26e265ab426ecc692bcf1e5cf8adb3f.zip
hdf5-5fcefe52a26e265ab426ecc692bcf1e5cf8adb3f.tar.gz
hdf5-5fcefe52a26e265ab426ecc692bcf1e5cf8adb3f.tar.bz2
[svn-r3958]
Purpose: HPUX 11.00 port Description: Redundant USE statements triggered a bug in the HP F90 compiler. Solution: Source code was rearranged to avoid redundancy: definitions of the object and dataset region reference types were moved from H5Rff.f90 to H5f90global.f90; "USE H5R" statement was removed from H5Rff.f90. Now H5Rff.f90 uses "USE H5GLOBAL" statement only as the rest of the modules. Platforms tested: HPUX 11.00 (kelgia), Solaris 2.7 (arabica)
Diffstat (limited to 'fortran/src/H5f90global.f90')
-rw-r--r--fortran/src/H5f90global.f9015
1 files changed, 15 insertions, 0 deletions
diff --git a/fortran/src/H5f90global.f90 b/fortran/src/H5f90global.f90
index a6e321c..9a2ce67 100644
--- a/fortran/src/H5f90global.f90
+++ b/fortran/src/H5f90global.f90
@@ -1,5 +1,20 @@
MODULE H5GLOBAL
USE H5FORTRAN_TYPES
+!
+! Definitions for reference datatypes.
+! If you change the value of these parameters, do not forget to change corresponding
+! values in the H5f90.h file.
+ INTEGER, PARAMETER :: REF_OBJ_BUF_LEN = 2
+ INTEGER, PARAMETER :: REF_REG_BUF_LEN = 3
+
+ TYPE hobj_ref_t_f
+ INTEGER ref(REF_OBJ_BUF_LEN)
+ END TYPE
+
+ TYPE hdset_reg_ref_t_f
+ INTEGER ref(REF_REG_BUF_LEN)
+ END TYPE
+
INTEGER, PARAMETER :: PREDEF_TYPES_LEN = 6 ! Do not forget to change this
! value when new predefined
! datatypes are added