1.1 --- a/templates/types.h Tue Nov 02 00:05:23 2021 +0100
1.2 +++ b/templates/types.h Thu Nov 04 23:44:29 2021 +0100
1.3 @@ -1,7 +1,6 @@
1.4 /* Runtime types.
1.5
1.6 -Copyright (C) 2015, 2016, 2017, 2018, 2019,
1.7 - 2021 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015-2019, 2021 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -72,8 +71,7 @@
1.13 typedef union __attr __attr;
1.14 typedef __obj * __ref;
1.15
1.16 -/* Introduce an integer type that should not exceed the size of the pointer
1.17 - type. */
1.18 +/* Introduce an integer type that is interoperable with the size type. */
1.19
1.20 typedef ssize_t __int;
1.21
1.22 @@ -97,6 +95,7 @@
1.23 char * strvalue; /* string value */
1.24 __fragment * seqvalue; /* sequence data */
1.25 void * datavalue; /* object-specific data */
1.26 + __int sizevalue; /* object-specific size */
1.27 } __attr;
1.28
1.29 typedef struct __obj