def __init__(self, type, name, arraySize):
    type = type.replace('*', ' *').replace('&', ' &')
    for (src, dst) in TYPE_SUBSTITUTIONS:
        type = type.replace(src, dst)
    self.type = type.split(' ')
    for (platformType, substitute, compat) in PLATFORM_TYPES:
        range = self.contains(self.type, platformType)
        if (range != None):
            self.type = (((self.type[:range[0]] + [((PLATFORM_TYPE_NAMESPACE + '::') + substitute[0])]) + substitute[1:]) + self.type[range[1]:])
            break
    self.name = name
    self.arraySize = arraySize
def __init__(self, type, name, arraySize):
    type = type.replace('*', ' *').replace('&', ' &')
    for (src, dst) in TYPE_SUBSTITUTIONS:
        type = type.replace(src, dst)
    self.type = type.split(' ')
    for (platformType, substitute, compat) in PLATFORM_TYPES:
        range = self.contains(self.type, platformType)
        if (range != None):
            self.type = (((self.type[:range[0]] + [((PLATFORM_TYPE_NAMESPACE + '::') + substitute[0])]) + substitute[1:]) + self.type[range[1]:])
            break
    self.name = name
    self.arraySize = arraySize