1.1 --- a/templates/types.h Mon Feb 13 15:35:36 2017 +0100
1.2 +++ b/templates/types.h Mon Feb 13 16:03:52 2017 +0100
1.3 @@ -22,10 +22,12 @@
1.4 /* Define code and position types, populated by enum values defined for each
1.5 program specifically. */
1.6
1.7 -typedef unsigned short __code;
1.8 -typedef unsigned short __pos;
1.9 -typedef unsigned short __pcode;
1.10 -typedef unsigned short __ppos;
1.11 +#include <stdint.h>
1.12 +
1.13 +typedef uint16_t __code;
1.14 +typedef uint16_t __pos;
1.15 +typedef uint16_t __pcode;
1.16 +typedef uint16_t __ppos;
1.17
1.18 /* Attribute tables are lists of codes confirming the presence of attributes. */
1.19
1.20 @@ -76,7 +78,7 @@
1.21 __attr (*fn)(); /* callable details */
1.22 };
1.23 int intvalue; /* integer value */
1.24 - double floatvalue; /* floating point value */
1.25 + float floatvalue; /* floating point value */
1.26 char * strvalue; /* string value */
1.27 __fragment * seqvalue; /* sequence data */
1.28 void * datavalue; /* object-specific data */