Merge pull request #5984 from dozn/patch-4

Change Return Type of `sdl2.GetWindowFlags` from `u32` to Existing `WindowFlags` `bit_set`
This commit is contained in:
gingerBill
2025-12-11 14:42:47 +00:00
committed by GitHub

View File

@@ -237,7 +237,7 @@ foreign lib {
CreateWindowFrom :: proc(data: rawptr) -> ^Window ---
GetWindowID :: proc(window: ^Window) -> u32 ---
GetWindowFromID :: proc(id: u32) -> ^Window ---
GetWindowFlags :: proc(window: ^Window) -> u32 ---
GetWindowFlags :: proc(window: ^Window) -> WindowFlags ---
SetWindowTitle :: proc(window: ^Window, title: cstring) ---
GetWindowTitle :: proc(window: ^Window) -> cstring ---
SetWindowIcon :: proc(window: ^Window, icon: ^Surface) ---