summaryrefslogtreecommitdiff
path: root/src/include/cctk_Types.h
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-02-25 08:46:05 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-02-25 08:46:05 +0000
commitcf732ebbe9e7d482fceca43f0e890f20feb1dfd3 (patch)
treec80e6ec2e056e1f29b1957353a87e7fb71b672ca /src/include/cctk_Types.h
parentc6f90f5c9a6d39a7f5fb5859259f38162f80d200 (diff)
New Cactus datatype CCTK_BYTE which is an unsigned char in C and an integer*1 in fortran.
This replaces CCTK_CHAR which is now deprecated git-svn-id: http://svn.cactuscode.org/flesh/trunk@2064 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Types.h')
-rw-r--r--src/include/cctk_Types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/cctk_Types.h b/src/include/cctk_Types.h
index b508f3c2..070ed750 100644
--- a/src/include/cctk_Types.h
+++ b/src/include/cctk_Types.h
@@ -50,8 +50,11 @@ typedef struct
#endif
/* Character type */
+/* DEPRECATED IN BETA 10 */
typedef unsigned char CCTK_CHAR;
+typedef unsigned char CCTK_BYTE;
+
#endif /* CCODE */
/* Define stuff for fortran. */
@@ -73,8 +76,11 @@ typedef unsigned char CCTK_CHAR;
#define CCTK_COMPLEX16 COMPLEX*16
#define CCTK_COMPLEX8 COMPLEX*8
+/* DEPRECATED IN BETA 10 */
#define CCTK_CHAR CHARACTER
+#define CCTK_BYTE INTEGER*1
+
#endif /*FCODE */
/* Now pick the types based upon the precision variable. */