aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-08-30 23:28:56 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-08-30 23:28:56 +0000
commitda17f5599ef4b9d7e68498a1542091e108413a75 (patch)
treeb1434e2e273ece9fec0dacc230559d2498c4840c /libgfortran
parent19c29b2fc41bad4e3676f3977e4ebc88ee936b64 (diff)
downloadgcc-da17f5599ef4b9d7e68498a1542091e108413a75.zip
gcc-da17f5599ef4b9d7e68498a1542091e108413a75.tar.gz
gcc-da17f5599ef4b9d7e68498a1542091e108413a75.tar.bz2
trans-types.h: Add comments.
* trans-types.h: Add comments. (intmax_type_node, string_type_node, const_string_type_node): Remove. libgfortran/ * libgfortran.h: Add comments. From-SVN: r86810
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/libgfortran.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 48b652f..49af843 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ * libgfortran.h: Add comments.
+
2004-08-30 Richard Henderson <rth@redhat.com>
* Makefile.am (gfor_helper_src): Split selected_kind.f90.
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index b87dde6..2819703 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -87,7 +87,11 @@ typedef double GFC_REAL_8;
typedef complex float GFC_COMPLEX_4;
typedef complex double GFC_COMPLEX_8;
+/* The following two definitions must be consistent with the types used
+ by the compiler. */
+/* The type used of array indices, amongst other things. */
typedef size_t index_type;
+/* The type used for string lengths. Nothing to do with strlen(3). */
typedef GFC_INTEGER_4 gfc_strlen_type;
/* This will be 0 on little-endian machines and one on big-endian machines. */