/* Lattice C Ver 3.1 */ #include #include #include #include #define SZ(x) sizeof(struct x) #define DATASIZE ( sizeof(structdata) / sizeof(struct StructData) ) #define PTRSIZE sizeof(APTR) /* for Aztec C make the following 'sizeof(int)' */ #define INTSIZE sizeof(short) #define BYTESIZE sizeof(char) #define MAXGADG 16 #define MOREGADG 25 /* id of "more" gadget */ struct StructData { char *membername; char *membertype; int printtype; int datasize; };