Some fixes to xlib wrapper

This commit is contained in:
Yury Benesh 2013-07-06 23:39:15 +03:00
commit 127253c8d5
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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