x11 wrapper uses system's types

This commit is contained in:
Araq 2012-07-15 10:39:21 +02:00
commit 089e7db08a
3 changed files with 4 additions and 7 deletions

View file

@ -16,8 +16,6 @@ const
X_PROTOCOL_REVISION* = 0 X_PROTOCOL_REVISION* = 0
type type
culong* = int
cuchar* = char
PXID* = ptr TXID PXID* = ptr TXID
TXID* = culong TXID* = culong
PMask* = ptr TMask PMask* = ptr TMask

View file

@ -6,19 +6,17 @@ const
libX11* = "libX11.so" libX11* = "libX11.so"
type type
cuint* = cint
cunsigned* = cint cunsigned* = cint
cushort* = int16
Pcint* = ptr cint Pcint* = ptr cint
PPcint* = ptr Pcint PPcint* = ptr Pcint
PPcuchar* = ptr ptr cuchar PPcuchar* = ptr ptr cuchar
PWideChar* = ptr int16 PWideChar* = ptr int16
PPChar* = ptr cstring PPChar* = ptr cstring
PPPChar* = ptr ptr cstring PPPChar* = ptr ptr cstring
Pculong* = ptr int Pculong* = ptr culong
Pcuchar* = cstring Pcuchar* = cstring
Pcuint* = ptr cint Pcuint* = ptr cuint
Pcushort* = ptr int16 Pcushort* = ptr uint16
# Automatically converted by H2Pas 0.99.15 from xlib.h # Automatically converted by H2Pas 0.99.15 from xlib.h
# The following command line parameters were used: # The following command line parameters were used:
# -p # -p

View file

@ -1,6 +1,7 @@
version 0.9.0 version 0.9.0
============= =============
- implement ``dynlib`` for variables
- implicit deref for parameter matching - implicit deref for parameter matching
- deprecate ``var x, y = 0`` as it's confusing for tuple consistency - 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! - test sequence of closures; especially that the GC does not leak for those!