public import "ecere" private: // would be nice not to have to do this define sizeoftype = GetTypeSize(type); int GetTypeSize(Class type) { // todo tocheck: is this code any good? /*if(!strcmp(type.name, "int")) return sizeof(int); else if(!strcmp(type.name, "unsigned int")) return sizeof(uint); else */return type.typeSize; }