summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-30 23:28:56 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-30 23:28:56 +0000
commitb496d69827f4a693188a11278d97ebaa23e15e8e (patch)
treeb1434e2e273ece9fec0dacc230559d2498c4840c /libgfortran
parentaff47ac3ef17fc2ea10260f59f8c80ac59b068e4 (diff)
downloadgcc-b496d69827f4a693188a11278d97ebaa23e15e8e.tar.gz
* trans-types.h: Add comments.
(intmax_type_node, string_type_node, const_string_type_node): Remove. libgfortran/ * libgfortran.h: Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86810 138bc75d-0d04-0410-961f-82ee72b054a4
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 48b652fc17b..49af8438bf2 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 b87dde69471..28197033b33 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. */