diff options
author | Christian Linhart <chris@demorecorder.com> | 2017-01-20 18:55:48 +0100 |
---|---|---|
committer | Christian Linhart <chris@demorecorder.com> | 2017-03-11 10:49:04 +0100 |
commit | 89b022fdacfe7b39b2122c6ec1a4097767b1ee29 (patch) | |
tree | 695665049e2b619e9c5b9e48737377501b16b41a /xcbgen/xtypes.py | |
parent | f521896716a49331ae6ccc75a5bab7e47aa2aca8 (diff) | |
download | xcb-proto-89b022fdacfe7b39b2122c6ec1a4097767b1ee29.tar.gz |
xinput: typedef for event_type_base
member event_type_base in struct InputClassInfo is a CARD8.
This patch replaces the type with the new typedef EventTypeBase
which is defined as a CARD8.
This does not alter the ABI or API for that struct because
typedefs do not appear in the ABI.
And C handles typedefs as aliases.
So there'll be no API issues as well.
The libxcb generator adds additional functions that implement
an iterator over this type.
This is harmless because adding code is ABI/API compatible.
The purpose of this change is to add more semantic info to this
member variable of this struct.
This helps with xcb-based generators or automatic code-checkers
and things like that.
Signed-off-by: Christian Linhart <chris@demorecorder.com>
Diffstat (limited to 'xcbgen/xtypes.py')
0 files changed, 0 insertions, 0 deletions