forked from Dimble/xcb-d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (21 loc) · 922 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
D bindings for xcb
------------------
This is an attempt to generate xcb D bindings using xcbgen.
The aging project on dsource.org uses the previous xslt generator.
Library version:
xcb 1.8.1
xcb-proto 1.7.1
Other versions that use xcbgen might work.
Status:
Alpha, incomplete.
Headers can be generated from the xcb-proto sources and appear to import
successfully. Only a few basic functions have been tested.
Contents:
xcb.d - manual translation of xcb.h from libxcb
d_client.py - conversion of c_client.py from libxcb
xcb - last attempted build of D bindings
d_client takes an argument of foo.xml and writes the header to xcb/foo.d.
Enum tag names are currently in CamelCase. For example, XCB_ATOM_WM_CLASS
in xproto.h is XcbAtom.WM_CLASS in xproto.d. Most enums and constants
currently have an incorrect (or at least inconvenient) base type.
xcbbuild.sh dreams of someday preparing the import xcb directory.