Added TypeKind.CHAR_U handling in the generator.

PiperOrigin-RevId: 331988119
Change-Id: I8301c5041c32da185202ed34292e6a2988ecff46
This commit is contained in:
Maciej Szawłowski 2020-09-16 06:00:24 -07:00 committed by Copybara-Service
parent da41899797
commit a68b851c2c

View File

@ -84,6 +84,7 @@ def _stringify_tokens(tokens, separator='\n'):
TYPE_MAPPING = {
cindex.TypeKind.VOID: '::sapi::v::Void',
cindex.TypeKind.CHAR_S: '::sapi::v::Char',
cindex.TypeKind.CHAR_U: '::sapi::v::UChar',
cindex.TypeKind.INT: '::sapi::v::Int',
cindex.TypeKind.UINT: '::sapi::v::UInt',
cindex.TypeKind.LONG: '::sapi::v::Long',