diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-04 10:28:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-04 10:28:29 +0000 |
| commit | 5cf0ba47ab38846e2fafd7977f3c9b92937c4ac3 (patch) | |
| tree | e2f0a6acf7d42f0354054cc50c336ad1e856aabc | |
| parent | 61f3d45fa7cf3993a42ad122d450f5629d704720 (diff) | |
| parent | 37e82c9387e87ec4d74762e5ed1a88bc75b9db16 (diff) | |
Merge pull request #6226 from Nahuel2998/fix/x11-xlib-procs-returntype
vendor/x11/xlib: Fix returntype of some procs
| -rw-r--r-- | vendor/x11/xlib/xlib_procs.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/x11/xlib/xlib_procs.odin b/vendor/x11/xlib/xlib_procs.odin index 3886bbead..70cd327fd 100644 --- a/vendor/x11/xlib/xlib_procs.odin +++ b/vendor/x11/xlib/xlib_procs.odin @@ -1112,15 +1112,15 @@ foreign xlib { SetAfterFunction :: proc( display: ^Display, procedure: #type proc "c" (display: ^Display) -> i32, - ) -> i32 --- + ) -> proc "c" (display: ^Display) -> i32 --- Synchronize :: proc( display: ^Display, onoff: b32, - ) -> i32 --- + ) -> proc "c" (display: ^Display) -> i32 --- // Error handling SetErrorHandler :: proc( handler: #type proc "c" (display: ^Display, event: ^XErrorEvent) -> i32, - ) -> i32 --- + ) -> proc "c" (display: ^Display, event: ^XErrorEvent) -> i32 --- GetErrorText :: proc( display: ^Display, code: i32, @@ -1138,7 +1138,7 @@ foreign xlib { DisplayName :: proc(string: cstring) -> cstring --- SetIOErrorHandler :: proc( handler: #type proc "c" (display: ^Display) -> i32, - ) -> i32 --- + ) -> proc "c" (display: ^Display) -> i32 --- // Pointer grabbing GrabPointer :: proc( display: ^Display, |