]> git.cworth.org Git - apitrace/blobdiff - specs/winapi.py
Cleanup Literal class.
[apitrace] / specs / winapi.py
index 0d8f8c13592a5d6260558b4baac659ab227200f1..6e3c60932123ab070213d888ae690f478057148d 100644 (file)
@@ -45,11 +45,11 @@ UINT32 = Alias("UINT32", UInt32)
 INT64 = Alias("INT64", Int64)
 UINT64 = Alias("UINT64", UInt64)
 
-BYTE = Literal("BYTE", "UInt", base=16)
-WORD = Literal("WORD", "UInt", base=16)
-DWORD = Literal("DWORD", "UInt", base=16)
+BYTE = Alias("BYTE", UInt8)
+WORD = Alias("WORD", UInt16)
+DWORD = Alias("DWORD", UInt32)
 
-WCHAR = Literal("WCHAR", "SInt")
+WCHAR = Alias("WCHAR", Short)
 
 BOOL = Alias("BOOL", Bool)