Lines Matching refs:alias
330 def genType(self, typeinfo, name, alias):
332 OutputGenerator.genType(self, typeinfo, name, alias)
341 self.genStruct(typeinfo, name, alias)
348 if alias:
349 # If the type is an alias, just emit a typedef declaration
350 body += 'typedef ' + alias + ' ' + name + ';\n'
386 def genStruct(self, typeinfo, typeName, alias):
388 OutputGenerator.genStruct(self, typeinfo, typeName, alias)
391 if alias:
394 body += '// {} is an alias for {}\n'.format(typeName, alias)
395 alias_info = self.registry.typedict[alias]
396 body += self.genStructBody(alias_info, alias)
398 body += 'typedef ' + alias + ' ' + typeName + ';\n'
476 def genGroup(self, groupinfo, groupName, alias):
478 OutputGenerator.genGroup(self, groupinfo, groupName, alias)
481 if alias:
483 # for the alias.
484 body += 'typedef ' + alias + ' ' + groupName + ';\n'
494 def genEnum(self, enuminfo, name, alias):
497 OutputGenerator.genEnum(self, enuminfo, name, alias)
499 body = self.buildConstantCDecl(enuminfo, name, alias)
503 def genCmd(self, cmdinfo, name, alias):
505 OutputGenerator.genCmd(self, cmdinfo, name, alias)