summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xlib/wrappers/x11/x.nim2
-rwxr-xr-xlib/wrappers/x11/xlib.nim8
-rwxr-xr-xtodo.txt1
3 files changed, 4 insertions, 7 deletions
diff --git a/lib/wrappers/x11/x.nim b/lib/wrappers/x11/x.nim
index aa6e7f821..5763f9f16 100755
--- a/lib/wrappers/x11/x.nim
+++ b/lib/wrappers/x11/x.nim
@@ -16,8 +16,6 @@ const
   X_PROTOCOL_REVISION* = 0
 
 type
-  culong* = int
-  cuchar* = char
   PXID* = ptr TXID
   TXID* = culong
   PMask* = ptr TMask
diff --git a/lib/wrappers/x11/xlib.nim b/lib/wrappers/x11/xlib.nim
index f915f0eae..946f9566a 100755
--- a/lib/wrappers/x11/xlib.nim
+++ b/lib/wrappers/x11/xlib.nim
@@ -6,19 +6,17 @@ const
   libX11* = "libX11.so"
 
 type
-  cuint* = cint
   cunsigned* = cint
-  cushort* = int16
   Pcint* = ptr cint
   PPcint* = ptr Pcint
   PPcuchar* = ptr ptr cuchar
   PWideChar* = ptr int16
   PPChar* = ptr cstring
   PPPChar* = ptr ptr cstring
-  Pculong* = ptr int
+  Pculong* = ptr culong
   Pcuchar* = cstring
-  Pcuint* = ptr cint
-  Pcushort* = ptr int16
+  Pcuint* = ptr cuint
+  Pcushort* = ptr uint16
 #  Automatically converted by H2Pas 0.99.15 from xlib.h
 #  The following command line parameters were used:
 #    -p
diff --git a/todo.txt b/todo.txt
index afa90cc70..751f8413d 100755
--- a/todo.txt
+++ b/todo.txt
@@ -1,6 +1,7 @@
 version 0.9.0
 =============
 
+- implement ``dynlib`` for variables
 - implicit deref for parameter matching
 - deprecate ``var x, y = 0`` as it's confusing for tuple consistency
 - test sequence of closures; especially that the GC does not leak for those!