mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 06:18:39 +00:00
Minor x11/xlib bindings fixes
- Fix Xutf8LookupString signature (^cstring -> cstring) - Fix type of KeySym (u32 -> uint)
This commit is contained in:
2
vendor/x11/xlib/xlib_keysym.odin
vendored
2
vendor/x11/xlib/xlib_keysym.odin
vendored
@@ -1,7 +1,7 @@
|
||||
#+build linux, freebsd, openbsd
|
||||
package xlib
|
||||
|
||||
KeySym :: enum u32 {
|
||||
KeySym :: enum uint {
|
||||
XK_BackSpace = 0xff08, /* Back space, back char */
|
||||
XK_Tab = 0xff09,
|
||||
XK_Linefeed = 0xff0a, /* Linefeed, LF */
|
||||
|
||||
2
vendor/x11/xlib/xlib_procs.odin
vendored
2
vendor/x11/xlib/xlib_procs.odin
vendored
@@ -2068,7 +2068,7 @@ foreign xlib {
|
||||
Xutf8LookupString :: proc(
|
||||
ic: XIC,
|
||||
event: ^XKeyPressedEvent,
|
||||
buffer_return: ^cstring,
|
||||
buffer_return: cstring,
|
||||
bytes_buffer: i32,
|
||||
keysym_return: ^KeySym,
|
||||
status_return: ^LookupStringStatus,
|
||||
|
||||
Reference in New Issue
Block a user