mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
x11 wrapper uses system's types
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user