diff options
| author | Nahuel2998 <nahuel2998@gmail.com> | 2026-02-03 17:17:33 -0300 |
|---|---|---|
| committer | Nahuel2998 <nahuel2998@gmail.com> | 2026-02-03 17:17:33 -0300 |
| commit | 37e82c9387e87ec4d74762e5ed1a88bc75b9db16 (patch) | |
| tree | 5d82761a6b8eb2a33c91ae7a9983c8e47dd028f5 | |
| parent | 270df36468df8f89e1ac944205272469142c7a65 (diff) | |
vendor/x11/xlib: Fix returntype of some procs
Returntype of a few procs was incorrectly set to i32 rather than a proc
that returns i32.
| -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, |