Fixed libX11, libXrender bindings for macos and linux.

This commit is contained in:
Yury Benesh 2013-07-04 17:45:44 +03:00
commit 37b660dd78
2 changed files with 29 additions and 18 deletions

View file

@ -2,8 +2,12 @@
import
x
const
libX11* = "libX11.so"
when defined(macosx):
const
libX11* = "libX11.dylib"
else:
const
libX11* = "libX11.so"
type
cunsigned* = cint