Convert WindowState flags again, this time with a non-exaustive enum (#43)
This commit is contained in:
parent
7e95ad81b5
commit
8a2cd7dce2
4 changed files with 13 additions and 9 deletions
|
|
@ -111,6 +111,8 @@ def fix_enums(arg_name, arg_type, func_name):
|
|||
arg_type = "CameraMode"
|
||||
elif arg_name == "gesture":
|
||||
arg_type = "Gestures"
|
||||
elif arg_name == "flags" and func_name in ["SetWindowState", "ClearWindowState", "SetConfigFlags"]:
|
||||
arg_type = "ConfigFlags"
|
||||
return arg_type
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue