use named enum for TypeInfo_Struct.flags