Some fixes to xlib wrapper

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

View File

@@ -47,6 +47,8 @@ type
PKeyCode* = ptr TKeyCode
TKeyCode* = cuchar
proc `==`*(a, b: TAtom): bool {.borrow.}
const
None* = 0
ParentRelative* = 1

View File

@@ -13,7 +13,7 @@ else:
const
libX11* = "libX11.so"
{.pragma: libx11, dynlib: libX11, importc.}
{.pragma: libx11, cdecl, dynlib: libX11, importc.}
type
cunsigned* = cint