]> git.cworth.org Git - apitrace/blobdiff - specs/winapi.py
Represent BOOL as an enum.
[apitrace] / specs / winapi.py
index ea9252f3c20777da642ce59539cc9d6370ab2419..6fbdfaefb2b90c753c51ebdd978bf7a998ba60a4 100644 (file)
@@ -53,7 +53,10 @@ DWORD = Alias("DWORD", UInt32)
 
 WCHAR = Alias("WCHAR", Short)
 
-BOOL = Alias("BOOL", Bool)
+BOOL = Enum("BOOL", [
+    "FALSE",
+    "TRUE",
+])
 
 LPLONG = Pointer(LONG)
 LPWORD = Pointer(WORD)