[Xcb] [lib] Remove XPrint, fixes, "API" break
Daniel Martin
consume.noise at gmail.com
Fri Nov 22 14:27:27 PST 2013
Hi,
and here're some more patches I've prepared:
[lib 1/5] c_client.py: Fix _sizeof() functions
That's the attachment from
https://bugs.freedesktop.org/show_bug.cgi?id=68387
[lib 2/5] Remove XPrint extension
(Same comment as in the previous patches for proto.)
[lib 3/5] c_client.py: Prefer bit shifts over values in enum
https://bugs.freedesktop.org/show_bug.cgi?id=71837
With this all enum values will have the 'u' suffix, the values are
aligned and a bit shift will be used if available.
[lib 4/5] c_client.py: Use compliant header guard
https://bugs.freedesktop.org/show_bug.cgi?id=70680
Here I've just removed the leading underscores. I could add an "XCB_"
prefix if requested.
[lib 5/5] c_client.py: No sizeofs for Events, Replies, Requests
Those sizeofs are useless. They're serialization helpers used within
iterators for lists. And we don't have lists of events, replies or
requests.
With this patch we've roughly 300 fewer functions, which reflects in
~11k LOC.
Cheers,
Daniel Martin
More information about the Xcb
mailing list