mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Added TypeKind.CHAR_U handling in the generator.
PiperOrigin-RevId: 331988119 Change-Id: I8301c5041c32da185202ed34292e6a2988ecff46
This commit is contained in:
parent
da41899797
commit
a68b851c2c
|
@ -84,6 +84,7 @@ def _stringify_tokens(tokens, separator='\n'):
|
||||||
TYPE_MAPPING = {
|
TYPE_MAPPING = {
|
||||||
cindex.TypeKind.VOID: '::sapi::v::Void',
|
cindex.TypeKind.VOID: '::sapi::v::Void',
|
||||||
cindex.TypeKind.CHAR_S: '::sapi::v::Char',
|
cindex.TypeKind.CHAR_S: '::sapi::v::Char',
|
||||||
|
cindex.TypeKind.CHAR_U: '::sapi::v::UChar',
|
||||||
cindex.TypeKind.INT: '::sapi::v::Int',
|
cindex.TypeKind.INT: '::sapi::v::Int',
|
||||||
cindex.TypeKind.UINT: '::sapi::v::UInt',
|
cindex.TypeKind.UINT: '::sapi::v::UInt',
|
||||||
cindex.TypeKind.LONG: '::sapi::v::Long',
|
cindex.TypeKind.LONG: '::sapi::v::Long',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user