x11 wrapper uses system's types
This commit is contained in:
parent
1279bd2855
commit
089e7db08a
3 changed files with 4 additions and 7 deletions
|
|
@ -16,8 +16,6 @@ const
|
|||
X_PROTOCOL_REVISION* = 0
|
||||
|
||||
type
|
||||
culong* = int
|
||||
cuchar* = char
|
||||
PXID* = ptr TXID
|
||||
TXID* = culong
|
||||
PMask* = ptr TMask
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
1
todo.txt
1
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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue