1.1 --- a/templates/types.h Mon Feb 13 16:03:52 2017 +0100
1.2 +++ b/templates/types.h Mon Feb 13 16:55:30 2017 +0100
1.3 @@ -49,7 +49,7 @@
1.4
1.5 typedef struct __ptable
1.6 {
1.7 - const __ppos size;
1.8 + const __ppos min, max, size;
1.9 const __param params[];
1.10 } __ptable;
1.11
1.12 @@ -65,23 +65,20 @@
1.13
1.14 typedef union __attr
1.15 {
1.16 - __ref value; /* attribute value */
1.17 + __ref value; /* attribute value */
1.18 + const __ptable * ptable; /* parameter table */
1.19 struct {
1.20 - __ppos min; /* minimum number of parameters */
1.21 - const __ptable * ptable; /* parameter table */
1.22 + __pcode code; /* parameter table code for key */
1.23 + __ppos pos; /* parameter table position for key */
1.24 };
1.25 struct {
1.26 - __pcode code; /* parameter table code for key */
1.27 - __ppos pos; /* parameter table position for key */
1.28 - };
1.29 - struct {
1.30 - __attr (*fn)(); /* callable details */
1.31 + __attr (*fn)(); /* callable details */
1.32 };
1.33 - int intvalue; /* integer value */
1.34 - float floatvalue; /* floating point value */
1.35 - char * strvalue; /* string value */
1.36 - __fragment * seqvalue; /* sequence data */
1.37 - void * datavalue; /* object-specific data */
1.38 + int intvalue; /* integer value */
1.39 + float floatvalue; /* floating point value */
1.40 + char * strvalue; /* string value */
1.41 + __fragment * seqvalue; /* sequence data */
1.42 + void * datavalue; /* object-specific data */
1.43 } __attr;
1.44
1.45 typedef struct __obj