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
|
||||
TKeyCode* = cuchar
|
||||
|
||||
proc `==`*(a, b: TAtom): bool {.borrow.}
|
||||
|
||||
const
|
||||
None* = 0
|
||||
ParentRelative* = 1
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ else:
|
|||
const
|
||||
libX11* = "libX11.so"
|
||||
|
||||
{.pragma: libx11, dynlib: libX11, importc.}
|
||||
{.pragma: libx11, cdecl, dynlib: libX11, importc.}
|
||||
|
||||
type
|
||||
cunsigned* = cint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue