use named enum for TypeInfo_Class.flags
use named enum for TypeInfo_Struct.flags