Some fixes to xlib wrapper
This commit is contained in:
parent
a080277f84
commit
127253c8d5
2 changed files with 3 additions and 1 deletions
|
|
@ -47,6 +47,8 @@ type
|
||||||
PKeyCode* = ptr TKeyCode
|
PKeyCode* = ptr TKeyCode
|
||||||
TKeyCode* = cuchar
|
TKeyCode* = cuchar
|
||||||
|
|
||||||
|
proc `==`*(a, b: TAtom): bool {.borrow.}
|
||||||
|
|
||||||
const
|
const
|
||||||
None* = 0
|
None* = 0
|
||||||
ParentRelative* = 1
|
ParentRelative* = 1
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ else:
|
||||||
const
|
const
|
||||||
libX11* = "libX11.so"
|
libX11* = "libX11.so"
|
||||||
|
|
||||||
{.pragma: libx11, dynlib: libX11, importc.}
|
{.pragma: libx11, cdecl, dynlib: libX11, importc.}
|
||||||
|
|
||||||
type
|
type
|
||||||
cunsigned* = cint
|
cunsigned* = cint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue