mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
Some fixes to xlib wrapper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user