mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Merge pull request #2992 from flysand7/x11-fix
[x11/xlib]: Fix some foreign declarations
This commit is contained in:
Vendored
+3
-2
@@ -224,7 +224,7 @@ foreign xlib {
|
|||||||
XGetWindowAttributes :: proc(
|
XGetWindowAttributes :: proc(
|
||||||
display: ^Display,
|
display: ^Display,
|
||||||
window: Window,
|
window: Window,
|
||||||
attr: XWindowAttributes,
|
attr: ^XWindowAttributes,
|
||||||
) ---
|
) ---
|
||||||
XGetGeometry :: proc(
|
XGetGeometry :: proc(
|
||||||
display: ^Display,
|
display: ^Display,
|
||||||
@@ -251,6 +251,7 @@ foreign xlib {
|
|||||||
display: ^Display,
|
display: ^Display,
|
||||||
window: Window,
|
window: Window,
|
||||||
root: ^Window,
|
root: ^Window,
|
||||||
|
child: ^Window,
|
||||||
root_x: ^i32,
|
root_x: ^i32,
|
||||||
root_y: ^i32,
|
root_y: ^i32,
|
||||||
x: ^i32,
|
x: ^i32,
|
||||||
@@ -394,7 +395,7 @@ foreign xlib {
|
|||||||
XCreateColormap :: proc(
|
XCreateColormap :: proc(
|
||||||
display: ^Display,
|
display: ^Display,
|
||||||
window: Window,
|
window: Window,
|
||||||
visual: Visual,
|
visual: ^Visual,
|
||||||
alloc: ColormapAlloc,
|
alloc: ColormapAlloc,
|
||||||
) -> Colormap ---
|
) -> Colormap ---
|
||||||
XCopyColormapAndFree :: proc(
|
XCopyColormapAndFree :: proc(
|
||||||
|
|||||||
Reference in New Issue
Block a user