Use packed struct for ConfigFlags (#93)
This commit is contained in:
parent
98ced86523
commit
6ff9f0a45b
5 changed files with 110 additions and 80 deletions
|
|
@ -165,9 +165,9 @@ def fix_enums(arg_name, arg_type, func_name):
|
|||
arg_type = "BlendMode"
|
||||
elif arg_name == "gesture":
|
||||
arg_type = "Gesture"
|
||||
elif arg_name == "flags":
|
||||
elif arg_name == "flags" or arg_name == "flag":
|
||||
if func_name in [
|
||||
"SetWindowState", "ClearWindowState", "SetConfigFlags"
|
||||
"SetWindowState", "ClearWindowState", "SetConfigFlags", "IsWindowState"
|
||||
]:
|
||||
arg_type = "ConfigFlags"
|
||||
elif func_name == "SetGesturesEnabled":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue